Java on the PC
WARNING: These directions were last used extensively in Fall 1997.
There may be bugs. Please report bugs to fleck@cs.hmc.edu and
mike@cs.hmc.edu.
A few people have attempted to put Java on their PC's.
The following is a rough outline of the steps necessary
to
install java,
to move the
HMCSupport
library to a PC,
and to create a working
CLASSPATH
once you have installed the
jdk 1.1.
-
Install JDK
1.1 (Jave Development Kit, version 1.1). The latest version is
actually
JDK 1.2. If you try 1.2, do tell us whether it works ok with
HMCSupport and the course notes.
-
Get the ACME and HMCSupport packages, either the
uncompressed tar file or the
gzipped tar file or the
zip archive.
This contains two directories of files
Acme and HMC, which you should store on your PC in the
following locations:
c:[wherever you installed the JDK]\lib\Acme
and
c:[wherever you installed the JDK]\lib\HMC
It is important to recognize that the two directories
be placed in the \lib\
directory under where ever the JDK was installed.
Note, that if you use
ws-ftp
then entire directories can be ftp'ed
otherwise, individual files would need to be ftp'ed.
Look at "The Whole Internet"
for a discussion of ways to ftp entire directories.
-
Add the line
SET CLASSPATH=.;c:[wherever you installed the JDK]\lib\
to the autoexec.bat file.
-
Add
;c:[wherever you installed the JDK]\bin\
to the
end of the SET PATH= line
in the autoexec.bat file.
-
Note:
the
classes.zip
stays "ziped".
It is part of the jdk.
-
Reboot
Note:
you can send mail to:
pc-system-l@hmc.edu,
the general pc mail list at HMC,
for any pc related questions and issues.
Last modified September 19, 1997 by mike@cs.hmc.edu