[MacPorts] #35786: commons-daemon config problem: java home

MacPorts noreply at macports.org
Wed Aug 22 10:16:56 PDT 2012


#35786: commons-daemon config problem: java home
-------------------------------------+--------------------------------------
 Reporter:  vikingjs@…               |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.1.2                                
 Keywords:  mountainlion, JAVA_HOME  |        Port:  commons-daemon                       
-------------------------------------+--------------------------------------
 During update (immediately following selfupdate), recieved the following
 error:

 {{{
 org.macports.configure for port commons-daemon returned: configure
 failure: command execution failed
 }}}

 Log file (attached) indicates that JAVA_HOME was not properly set. This is
 probably related to
 [https://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/java-1.0.tcl?rev=96264],
 but I don't know how all the bits work together, so I thought I'd call
 attention to this case.

 Note that I have updated XCode, agreed to the license, removed old
 versions, and all that stuff. Other project (e.g., WebKit) build
 successfully from the command line, so I don't think that's the issue
 here. Unless I'm missing something, which happens.

 A few more tidbits from my machine, since this seems java-related:

 {{{
 iJer:Users Jerry$ java -version
 java version "1.6.0_29"
 Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-12A269)
 Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

 iJer:Users Jerry$ /usr/libexec/java_home
 /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home
 }}}

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


More information about the macports-tickets mailing list