avernet
asked on
How to change JAVA_HOME and JAVA_OPTS on Tomcat installed on Linux?
I have a version of Tomcat 5.5 installed on Linux with a package, and while I am used to deal with sh scripts stored in the Tomcat bin directory, here /usr/share/tomcat5/bin doesn't contain the usual scripts and Tomcat is started instead with /usr/java/latest/bin/java. Do you have any advice on how to change the JAVA_HOME and JAVA_OPTS (to set VM parameters such as heap size) in this environment?
Alex
Alex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Uninstalling and reinstalling the JDK and Tomcat packages solved the problem. And after this, setting the variables in /etc/profile works. Thanks guys.
Alex
Alex
ASKER
Alex