RedHat Linux 下为tomcat 配置JDK 环境变量 JAVA_HOME

来源:互联网 发布:java单点登录sso例子 编辑:程序博客网 时间:2024/06/05 13:21

the config file in linux is /etc/profile. if you have no right to edit it, you can use command "sudo" like

sudo vi profile

add the following parameters in profile file:

JAVA_HOME=/opt/java-1.5.0_05
export JAVA_HOME

原创粉丝点击