JAVA installation

From CLONWiki
Revision as of 10:26, 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_06, and both of them are working for all our applications all right.

RHEL4 came with JAVA installed in /etc/alternatives, several symbolic links exist from /usr/bin. That JAVA gave 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