Java environment variables setting on Linux
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java environment variables setting on Linux相关的知识,希望对你有一定的参考价值。
1 export JAVA_HOME=<Java home path> 2 export PATH=$JAVA_HOME/bin:$PATH 3 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
以上是关于Java environment variables setting on Linux的主要内容,如果未能解决你的问题,请参考以下文章
The JAVA_HOME environment variable is not defined correctly,this environment variable is needed to r
Java environment variables setting on Linux
配置Maven时报错The JAVA_HOME environment variable is not defined correctly,this environment解决方法汇总
The JAVA_HOME environment variable is not defined correctly的错误
Neither the JAVA_HOME nor the JRE_HOME environment variable is definedAt least one of these environ
Tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined