Sorry, Apparently sudo command does not export my environment.plist. Haven't found the solution yet, but clearly not a bug in the macport side.
regards, Firman Azis Rauf On 08/03/2011, at 2:36 PM, Firman Rauf wrote: > Hi, > > My subject requires me to use the old JDK 5 and tomcat 5. After googling, I > found a way to install JDK 5 in snow leopard. I have set up my JAVA_HOME and > ANT_HOME. When I call ant -diagnostics, it correctly shows that it's using > JDK 5. However, when I build commons-dbcp, ant still using JDK 6. How do I > correct this? > > regards, > > Firman Azis Rauf > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users