#21037: commons-dbcp does not compile -------------------------------+-------------------------------------------- Reporter: johan@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: commons-dbcp -------------------------------+-------------------------------------------- Comment(by plindberg@…): Replying to [comment:21 lorenzo@…]:
I had a similar problem. It seems that Snow Leopard DOES NOT come with a JDK1.5! It creates symbolic links to it but these point in fact to JVM1.6!! I solved the problem by simply getting back JDK1.5 from my backup, edited the symbolic links and changed the default JAVA search order using Utilities-->Java Preferences. Once done, my java problems were gone!
I also did this. Copied 1.5.0 from backup into /System/Library/Frameworks/JavaVM.framework/Versions, did an ln -s 1.5.0 1.5, and then sudo env JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/ port install commons-dbcp. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/21037#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS