linux java classpath

vi /etc/profile

add below lines

#JAVA SETTING
export JAVA_HOME=/home/hadstore/java/jdk1.6.0_33
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar

souce /etc/profile : this is for reload

Comments

Popular posts from this blog

codefights smooth sailing ( CommonCharacterCount)

How to remove 8443 port in URL in tomcat