Last Edited: 01 May 2008 by superuser
Importered from old WiKi -- 30/04-08 17:04.

~ Install Java Runtime Environment


1. Download jre*.bin self extracting archive for linux i586 from sun to $HOME (/root).

2. open a rxvt console windows. cd /root.
./jre*.bin

q
yes
...
inflating ...
...
creating ...
...

(resulting in dir /root/jre* ex. /root/jre1.5.0_05)

3. edit/create /etc/profile.local and insert this 2 lines:
export JAVA_HOME=/root/jre1.5.0_05
export PATH=$PATH:$JAVA_HOME/bin

4. start a jar file with: java -jar *.jar



CategoryHowto