https://issues.apache.org/bugzilla/show_bug.cgi?id=54390
Bug ID: 54390 Summary: OSx Mountain Lion Tomcat Picks Wrong JRE Product: Tomcat 7 Version: 7.0.34 Hardware: Macintosh Status: NEW Severity: major Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: zafar...@gmail.com Classification: Unclassified Installing Java 7 on OSX does not force Tomcat to use newly installed active JDK, instead it is still using the old .../CurrentJDK/Home mechanism. Java 7 Installation on OSX does not reside on conventional location on file system , which is being used by tomcat setclasspath.sh script. Excerpt from setclasspath.sh if [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" ]; then export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" Solution to the problem is to update setclasspath.sh script to ; if [ -d "$(/usr/libexec/java_home)" ]; then export JAVA_HOME=$(/usr/libexec/java_home) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org