[MacPorts] #22787: tomcat6 fail to compile on Snow Leopard
MacPorts
noreply at macports.org
Tue Dec 29 12:16:46 PST 2009
#22787: tomcat6 fail to compile on Snow Leopard
---------------------------------+------------------------------------------
Reporter: idefix@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: duplicate | Keywords:
Port: tomcat6 |
---------------------------------+------------------------------------------
Comment(by skaimauve@…):
You have to install Java 1.5 from your Leopard CD or download it:
(1) Download the official Java package from Apple, “Java for Mac OS X 10.5
Update 4” dated June 15, 2009. Don't try with version 5 or 6.
(2) Meanwhile, go to /System/Library/Frameworks/JavaVM.framework/Versions
and delete the two aliases (symlinks) “1.5” and “1.5.0”.
(3) Open "Java for Mac OS X 10.5 Update 4” with Pacifist, and drill down
into Contents > System > Library > Frameworks > JavaVM.framework >
Versions
(4) Still in Pacifist, select 1.5 and 1.5.0, right-click, and chose
"Install to Default Location".
(5) Uncomment this line in /opt/local/share/java/tomcat6/conf/setenv.local
#export JAVA_JVM_VERSION=1.5
(6) Start tomcat
--
Ticket URL: <http://trac.macports.org/ticket/22787#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list