Opened 5 years ago

Last modified 5 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

Description

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@… 5 years ago.
log file with JAVA_HOME error

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by vikingjs@…

log file with JAVA_HOME error

comment:1 Changed 5 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.