Shell Scripts and Java

Antonis Kaklis antoni3 at otenet.gr
Sat Mar 22 16:01:06 EET 2003


Egw eixa kanei ta e3is(alla sto Mandrake 9.0):

Create a file 'Java.sh' as 'root' in folder: /etc/profile.d
containing the lines:

JAVA_HOME=/usr/java/j2sdk1.4.0
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH


Make it executable:--> chmod  +x   /etc/profile.d/java.sh


Elpizw na boithisei

Antonis




More information about the Migrate2linux mailing list