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.
2.1m questions
2.1m answers
60 comments
57.0k users