I have 2 Java Web Projects. One runs on JDK 1.5 and the other runs on JDK 1.6. I want to run both of them on the same computer, but the JAVA_HOME environment variable can only have one value. I want to set JAVA_HOME for each Tomcat server.
place a setenv.sh in the the bin directory with
JAVA_HOME=/usr/java/jdk1.6.0_43/ JRE_HOME=/usr/java/jdk1.6.0_43/jre
or an other version your running.
1.4m articles
1.4m replys
5 comments
57.0k users