Hello all i installed tomcat on some unix machine , now the application on this machine is using the JAVA_HOME variable that points to java 1.3 and i cant change this variable i installed java 1.5 but now how can i tell tomcat to use this java version without changing the JAVA_HOME variable
I have never worked on any Unix system and also very less aware of them. But at least on Red Hat Linux this is possible by exporting a JAVA_HOME from within the bin/startup.sh file with the new value of the JAVA_HOME. Thus at each startup this new value will be available to tomcat but not to other applications.
Hope this will help. [ February 19, 2007: Message edited by: Kaustabh Singha Roy ]
subject: using different JAVA_HOME for tomcat in unix