Monday, October 20, 2003

Setting up Java on Red Hat Linux - Things to do:

- download the j2sdk-1_4_2_01-linux-i586-rpm.bin file from java.sun.com
- move it to the root account home directory
- run "sh j2sdk-1_4_2_01-linux-i586-rpm.bin" which will verify the download
and unpack the RPM file
- install the RPM file: "rpm -i j2sdk-1_4_2_01-linux-i586.rpm
- assuming it goes OK, you can move the above files to .Trash.
- Now where did RedHat put java?? On mine it went into: /usr/java/j2sdk1.4.2_01
- So...
- add /usr/java/j2sdk1.4.2_01/bin to $PATH
- you have to do other stuff with the CLASSPATH ... but what???

Labels: