Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bobber205

macrumors 68020
Original poster
Nov 15, 2005
2,183
8
Oregon
The last couple updates to Java and OS X have broke my paths on ant on my command line. :( So sad. :(

Last update Apple completely moved where $JAVA_HOME was located and how the symlinks are set up. This time, it doesn't seem as severe but it's pretty bad as before I updated (this morning) it was working fine. Now it doesn't.

javac] /Users/path/to/my/build.xml:458: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 8 source files to /Users/path/to/WEB-INF/classes
[javac] Fatal Error: Unable to find package java.lang in classpath or bootclasspath

Is what I'm getting when trying to run any ant task. What could be going on? Did the Java_Home path get changed? It's been long enough that I don't remember the directory stuff well enough to know if something has changed. :p

Thanks MR!
 
Did the Java_Home path get changed?

If it did, why would that matter? Any use of that path should be referencing the JAVA_HOME variable, not the path itself.

I would try using an installation of Ant from Fink or MacPorts instead of my own.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.