Opened 6 years ago

Last modified 6 years ago

#36792 new defect

JAVA_HOME lost when building tomcat6 on Mountain Lion

Reported by: vikingjs@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
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.

Attachments (1)

main.log (9.3 KB) - added by vikingjs@… 6 years ago.
log file with JAVA_HOME error

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by vikingjs@…

Attachment: main.log added

log file with JAVA_HOME error

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to blair@…

In the future, please Cc the port maintainer(s).

Note: See TracTickets for help on using tickets.