JAVA installation: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
(No difference)

Revision as of 11:20, 12 October 2007

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-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