COMP 110: Introduction to Programming. jGRASP
Getting Started with jGRASP
Installation
To properly install jGRASP, you'll need to download and install both
jGRASP 1.8.6_01 and the Java Software Development Kit (SDK).
Java SDK
Download j2sdk-1_4_2_15-windows-i586-p.exe
to your Desktop (It's a big file, 50MB). Double-click on the file once
it's on your Desktop,
and the script will take you through the steps for installing the Java
SDK.
Steps
- In the License dialog box, choose "I accept the terms..."
and click Next
- In the Custom Setup dialog box, you don't need to make
any changes, so just click Next
- In the Browser Registration dialog box, you don't need to
make any changes, so just click Install
- The installation will begin, and a progress bar may not seem to show progress.
It may take several minutes, with an occasional popup box.
- When it's done, you should see a dialog box that says "The
InstallShield Wizard has successfully installed Java 2 SDK". Click Finish.
- You should restart your computer.
jGRASP 1.8.6_01
Download jgrasp186_01.exe
to your Desktop. Double-click on the file, and the script will take
you through the steps for installing jGRASP.
Steps
- In the Welcome dialog box, click Install.
- In the jGRASP License dialog box, click Agree.
- In the Choose Components dialog box, you don't need to
make any changes (Standard), so just click OK.
- In the Choose Installation Location dialog box, you don't need to make
any changes, so click OK
- In the second Choose Start Menu Folder dialog box, you don't need
to make any changes, so click OK.
- You will be presented with a dialog showing file associations jGrasp would like to make. Deselect all of them except
the one that askes about .java and .jav files.
- Once you've answered all of the dialog boxes, the installation
will begin.
On my laptop and window showing the install of "installfonts.exe" froze, so after a while I killed it.
- You will then see a dialog box that says "jGRASP has been
installed successfully". Click OK.
When you have completed the installation, you should find the
jGRASP icon on your Desktop. jGRASP should also be listed on the
Start Menu, under All Programs.
Once you have successfully installed the Java SDK and jGRASP, you
can delete jgrasp186_01.exe, j2sdk-1_4_2_15-windows-i586-p.exe, and Java Web Start from
your Desktop.
Starting jGRASP the First Time
Double-click on the jGRASP icon on your Desktop to start jGRASP.
You will probably get a message saying that there is a newer version of
jGRASP available online. It's ok, just ignore that message.
There are a couple of settings that you need to change the first time
you run jGRASP. You only need to follow these steps once.
- Go to the Settings menu and highlight Look and
Feel>. A sub-menu will pop up. Select Windows. This will
make jGRASP look like a normal Windows program.
- Go to the Settings menu and highlight Compiler
Settings>. A sub-menu will pop up. Select Workspace. A
dialog box will open. After following the steps below, the dialog box
should look like this picture.
- Choose the Languages tab at the top of the dialog
box.
- In the drop-down box next to "Language:", choose Java.
- Choose the Environment tab under the "Language:"
drop-down box.
- Click on "jdk (integrated debugger, HotSpot VM, prefer JDK
compiler) - generic" so that it's highlighted.
- Click the Use button to the right of the list.
- Click OK.
Before continuing, you should read the Getting
Started chapter of the jGRASP
documentation through 2.4. It's big, but there are lots of pictures :-).