How to use jgrasp on a Mac?

Posted on 2011-05-07
Last Modified: 2012-05-11
Hello Everyone I am learning some JAVA coding here and for the first time using jGRASP on a Mac. I have never used it before.

Here is what I have done. Created a simple program which I did not have any issues compiling. The problem is I can't figure out how to run it. When I compiled it I didn't get any errors now I need to learn how to run it. Please help.

I have pasted my code below

public class Address
	public static void main(String[] args)
		System.out.println("My Name");
		System.out.println("My Street address with Unit Number 123");
		System.out.println("City, State, and ZipCode 2123");

Open in new window

Question by:sobeservices2
    LVL 47

    Expert Comment

    Don't know jGrasp, but normal ideology of the IDE
    would assume that there should be (perhaps in the Projectr or File menu)
    some option to create Run configuration (you specify there such things as say
    commnd line arguments on java command for example) and after you set up
    Run configuration you would execute it with Run menu option.
    Maybe you can find Run option first and it will prompt you
    for configuration details.
    Maybe someone who knows jGrasp can chime in, otherwise you
    can always make a  try.
    LVL 47

    Expert Comment

    I think nowadays MAc systems have nice Unix-like command line.
    So you probably can run java from command line.
    From the point of view of learning that is not bad thing to
    figure out how to do in any case
    LVL 47

    Accepted Solution


    Watch 10 min video, seems useful:
    LVL 47

    Expert Comment

    So either you go to Build--> Run
    or click the icon with the red running person in the toolbar
    line below the menu
    Good video for the beginners
    LVL 92

    Expert Comment

    thers a run button on the toolbar

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    classnotfoundexception 3 28
    count11 challenge 6 31
    strCount chalenge 3 33
    @SBGen Method 3 16
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    This is an explanation of a simple data model to help parse a JSON feed
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now