Hi Robert,

If you installed tomcat using 'apt-get', the problem is in how
/etc/init.d/tomcat6 looks for JDK locations in your system.

For Ubuntu 12.04, it searches in this order:

/usr/lib/jvm/default-java
/usr/lib/jvm/java-7-openjdk-*
/usr/lib/jvm/java-6-openjdk-*
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-1.5.0-sun
/usr/lib/j2sdk1.5-sun
/usr/lib/j2sdk1.5-ibm

Instead of editing this script, you can do either:

a) create a link in /usr/lib/jvm/default-java pointing to your Oracle
JDK installation.
b) edit /etc/default/tomcat6 and set there your JAVA_HOME var.

Hope this helps.

Oscar.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to