Installing & Running JRE

Linux-based Server Installation

To install the Java Runtime Environment for Linux based servers:

1Login as root.

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

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

216 Introduction

Page 226
Image 226
HP TeemTalk Terminal Emulator 7 E-License manual Shell ln -s j2sdk1.4.102 j2sdk, Introduction