首页 > 代码库 > Java Environment Setting

Java Environment Setting

As a non-Java developer, I am quit stuck in Java environment setting because I am not familiar with Java.

I write it down as following, I think it is the best way to write it in /etc/profile:

export JAVA_HOME=/usr/local/jdk1.8.0_111export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

  

 

Java Environment Setting