Installing and Using jGRASP to create a simple Java Project

University of Akron - Introduction to Computer Science

Additional help can be found at the jGRASP site.

Download and install Java SDK
Java J2SE (Java 2 Platform, Standard Edition at http://java.sun.com/j2se/) from Sun (Tips can be found at Horstmann's Big Java site - http://www.horstmann.com/bigj/help/sdk/index.html)
Download and install jGRASP
 jGRASP - http://www.jgrasp.org/. Get the Windows self-extracting exe. (approx 2 MBytes). Read Installation instructions.
Run jGRASP
  You might also check out the Getting Started tutorial at the jGRASP site.
From the jGRASP File Menu, select New File and select Java as the type of file.
This will open a new edit window where the Java program can be entered. This diagram shows a  completed sample program. You should enter this program. Be careful to use upper and lower case letters as shown.
It is always a good idea to save files before doing too many things. This gives the file a name and location on the disk. Choose the Save As... item on the File menu.
It is common to group related files in a folder. In the Save dialog, navigate to a convenient location. You will be creating a folder for the Hello World program file. You can create folders by clicking the Create New Folder  icon and then renaming the 'New Folder' to something more meaningful (you do this by clicking on the folder until the name is highlighted for editing and then typing a new name).
 
Double-click the folder name to open it (as the location you want to save the file) and enter the filename HelloWorld.Then click Save.
 
To compile the program, click the compile button (the green plus) at the top of the editor window. Compiler messages appear in the lower part of the jGRASP desktop
 
If you click the Browse icon , the browse window will show the folder containing the file. Note the appearance of a class file (the compiled version of your program).
Run the program by clicking the red running person icon. Output appears at the bottom of the desktop.