Am Thu, 26 Nov 2009 10:54:08 +0100 schrieb Jimmy Spam <spa...@pobladores.com>:
> By default, system is using jre1.6 and If I uninstall it, tomcat 6 > doesn't work, so How can do for that tomcat use jre1.5 without crash? Please have a look at the beginning of the catalina.sh of your Tomcat-installation. There is a brief documentation how to set the intended JVM. If Opensuse is using another script to start Tomcat you will have to check if there is a setting of the environment variable JAVA_HOME. Basically you will have to set the variable JAVA_HOME to "/usr/java/latest", "/usr/java/jdk1.6.0_17" or "/usr/java/jre1.5.x_y" or where-ever the bin-directory of your JVM is. You can have dozens of different JVM under /usr/java/ (typical place for JDKs under Linux) installed. The selection happens through a "JAVA_HOME=/usr/java/latest", etc.. Usually it shouldn't be necessary to export this variable as long as catalina.sh and the environment variable setting happens in the same process. This way the impact for the rest of the OS is kept to a minimum. RU, Tobias. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org