Wednesday, October 19, 2005

Steps to install J2SE 1.4.2 in Linux

  1. Download the j2sdk-1_4_2_09-linux-i586.bin from Java Sun.
  2. Copy the j2sdk-1_4_2_09-linux-i586.bin to /usr/local/bin.
  3. Run ./j2sdk-1_4_2_09-linux-i586.bin and a folder j2sdk1.4.2_09 will be created.
  4. Create a symbolic link using ln -s /usr/local/bin/j2sdk1.4.2_09/bin/java /usr/bin/java
  5. Finally run java -version to make sure that J2SE is installed sucessfully.If there is java version printed, then means that all should be OK already.

No comments: