'Environment Variable'에 해당되는 글 1건

  1. 2014.10.07 리눅스에서 환경변수 설정하기 (How to set the environment variable on Linux)

# Edit the profile

$vi /etc/profile

 

# Write down the environment variable with vi editor, and then save

JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45

export $JAVA_HOME

PATH=$PATH:$JAVA_HOME/bin

 

# Apply the profile

$source /etc/profile

 

Link : http://blog.naver.com/blueday9404?Redirect=Log&logNo=220143471554

 

 

 

Posted by Jyui