[MacPorts] #36792: JAVA_HOME lost when building tomcat6 on Mountain Lion

MacPorts noreply at macports.org
Mon Oct 29 07:40:27 PDT 2012


#36792: JAVA_HOME lost when building tomcat6 on Mountain Lion
------------------------+--------------------------------
 Reporter:  vikingjs@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.1.2
 Keywords:              |       Port:  tomcat6
------------------------+--------------------------------
 When installing tomcat6 on Mountain Lion, I get the following lines in my
 log:

 {{{
 :debug:build Backtrace: Error: JAVA_HOME is not defined correctly.
   We cannot execute
 /System/Library/Frameworks/JavaVM.framework/Home/bin/java
 child process exited abnormally
     while executing
 "$pre $targetname"
 }}}

 #35786 contains a brief discussion of ant and JAVA_HOME on Mountain Lion,
 and probably holds the key to fixing this port as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/36792>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list