/etc/profile
/etc/bashrc
~/.bash_login
~/.bash_profile
~/.profile
~/.bashrc
在配置jdk路径:
~/.bash_profile
~/.bash_profile |
|
通过命令启动 |
startup.sh中添加
export JAVA_HOME=/temp/jdk1.8.0_211 CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar |