• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using different JAVA_HOME for tomcat in unix

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kaustabh Singha Roy
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic