Installing the Sun SDK, Java textbook
files, and JPadPro (Instructions for Fall 2002 CD)
When you put the 2243/2247 CD in your PC,
the Sly Installer will automatically come up. Follow these steps
to install everything in the default directories (c:\jdk1.3.1_04 for the
SDK, c:\addons for the class files from the textbook, c:\JPadPro for JPadPro.
c:\JavaBookListings for the listing files from the textbook) :
-
Click Java version 1.3.1.04, Install
-
Wait for Java Install Screen, click Next
-
Follow instructions (mostly you just have
to click Next), then click Finish when install is complete
Now you should be back to the Sly Installer
screen.
-
Click Class files from textbook, Install,
Unzip, Close
Now you should be back to the Sly Installer
screen.
-
Click Listing files from textbook, Install,
Unzip, Close
Now you should be back to the Sly Installer
screen.
-
Click JPadPro version 4.4, Install
-
Just click Next on each screen until it is
done
-
Click Finish
-
Click Exit to exit from Sly Installer
Now start JPadPro and do initial setup:
-
Click Start, Programs, JPadPro, JPadPro
-
Click Trial via Online and follow the instructions
to get your 30 day trial license
-
Close the Tip of the Day window.
-
Click File, New
-
Select Java file as the file type
-
Click OK
-
Enter most anything (e.g. testfile) as the
class name
-
Click Create File
-
Click JDK, Edit Standard Classpaths, Add
-
Type c:\addons in the path box
-
Click OK, OK
Now JPadPro is ready to use! To make
sure everything is installed correctly, follow the instructions
to create a new program, and type in the program from Listing 2.1 on p
49 EXACTLY as shown. Follow the instructions on the JPadPro instruction
page for compiling (also see NOTE on this page) and running the program.
See the top of page 50 and the pictures on page 51 for what to do if it
doesn’t compile correctly, and what the result should look like.
It will be helpful if you read the entire section 2.1 (p 46 – 54) before
you try this. If you can’t get the program to compile, or can’t get
it to run, and you are SURE you typed in the program exactly as shown in
Listing 2.1, email the .java file to your instructor along with a copy
of exactly what the first error message says, or a description of what
goes wrong if it compiles but doesn’t run properly. Note that the
turtle screen won’t look exactly like the pictures on p 51 – the turtle
actually starts in the center of the screen.
After you receive your license from Chet
Murphy (you will get this by e-mail approximately one week after you buy
it at the bookstore), follow the instructions in the email to register
your copy of JPadPro. (You will get an email with the trial license
right after you do the "Trial via Online." The trial license will expire
after 30 days. The license you get after purchasing the license will
not expire.)
NOTE: The first time you try to compile,
you may get a message about running a setup script. Click Yes, Yes,
then select the C:\jdk1.3.1_04\bin directory.