Hi, "export" the new env-var: export JAVA_HOME=/usr/java/jre1.5.0_06 /etc/profile seems to be a good place... but I prefer "etc/profile.d", since an update might override your settings. The order in PATH depends on your [.]profile(s)... cu, Joe > >Hi.. I have installed java in the following folder /usr/java/jre1.5.0_06 in >linux, may i know >whether i should create JAVA_HOME variable like windows do ?? If I want to >add the following >entries > >JAVA_HOME=/usr/java/jre1.5.0_06 > >where should I add ?? /etc/profile ? I added but it doesn't appear in ENV >after I relogin > > >Besides, may I know where can i change the entry order of the following ENV >parameter? > >PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/lo >cal/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/java/jre1.5.0_06/bin:/ >root/bin >