JAVA installation

From CLONWiki
Revision as of 10:32, 12 October 2007 by Boiarino (talk | contribs)
Jump to navigation Jump to search

Solaris 10 update 2 comes with jdk-1_5_0_06, update 3 comes with jdk-1_5_0_07, and both of them are working for all our applications all right.

RHEL4 came with 'jre-1.5.0-ibm' installed in /etc/alternatives, several symbolic links exist from /usr/bin. That JAVA gives errors compiling our programs, so we decided to install Sun version 1.5.0_06 (the same we have on Solaris machines). Maybe RHEL4 version is fine, just too peaky. Anyway following was done:

  • 'jdk-1_5_0_06-*' files (for all supported platforms just in case) were downloaded from Sun web site to /usr/local/downloads
  • file 'jdk-1_5_0_06-linux-i586.bin' was copied to /apps, and following commands executed:
chmod 775 jdk-1_5_0_06-linux-i586.bin
./jdk-1_5_0_06-linux-i586.bin
rm jdk-1_5_0_06-linux-i586.bin
  • the number of symbolic links were hiden:
mv /usr/bin/jade 
mv /usr/bin/jadetex
mv /usr/bin/jar
mv /usr/bin/java
mv /usr/bin/javac
mv /usr/bin/javadoc
mv /usr/bin/javah
  • and new links were created:
cd /usr/bin
ln -s