#36787: commons-fileupload losing JAVA_HOME on Mountain Lion ------------------------+-------------------------------- Reporter: vikingjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------+-------------------------------- Java moved in Mountain Lion; this appears to be the same trouble as in #35786 and #35811 . The interesting part of the log file: {{{ :info:build Error: JAVA_HOME is not defined correctly. :info:build We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_java_commons-fileupload/commons-fileupload/work /commons-fileupload-1.2.2-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true }}} -- Ticket URL: <https://trac.macports.org/ticket/36787> MacPorts <http://www.macports.org/> Ports system for Mac OS