User's Manual
Installing & Running JRE
216 Introduction
Linux-based Server
Installation
To install the Java Runtime Environment for Linux based servers:
1 Login as root.
2 Enter the following commands:
shell> cd /usr/local
shell> cp /[CD]/j2re-1_4_1_02-linux-i586.bin /usr/local
(where [CD] is the path to the HP Device Manager CD).
shell> sh j2re-1_4_1_02-linux-i586.bin
shell> ln -s j2sdk1.4.1_02 j2sdk
3 Set an environment variable JAVA_HOME to the pathname of
the directory into which you install the JDK:
shell> vi /etc/profile
Add the following lines just before "export PATH..."
PATH=/usr/local/j2sdk/bin:$PATH
JAVA_HOME=/usr/local/j2sdk
export PATH ... JAVA_HOME