The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-23-2007
marcel_kobain marcel_kobain is offline
Registered User
 

Join Date: Nov 2007
Posts: 2
[ Environment Variable ] Probleme with export JAVA_HOME

Hi,

I want to create a new environment variable (JAVA_HOME), but when I open a new shell this varible is delete...
to create the variable I do :
Code:
export JAVA_HOME=/usr/java/jdk
and I verify with :
Code:
echo $JAVA_HOME
and it's work...
But When I open a new shell this variable is forget...
( It does the same thing with PATH...)

Do you know why it does this?? And how to fix it?

Rem : I have ever done this way to change my variable PATH and it has worked...
Reply With Quote
Remove advertisements
!!
Forum Sponsor