PDA

View Full Version : Latest Apple Java Update Breaks my Ant Projects




bobber205
Nov 5, 2010, 05:52 PM
I get this on all of my ant targets. A machine that has yet to update to the latest Java release that came through Software Update builds just fine.

The machines are identical otherwise.

I've noticed that JVM paths have been moved and renamed. :P We've spent all day making sure we've updated the paths where needed but still no luck. :(

Below is the error message! :D

[javac] Fatal Error: Unable to find package java.lang in classpath or bootclasspath



chown33
Nov 5, 2010, 05:59 PM
What is the value of classpath or bootclasspath?

Exactly what have you done to update the paths?

Run Ant verbose and post the exact actions and text it outputs. Pretend we can't see your screen, and have no idea what's in your Ant build.xml files.

mrbash
Nov 5, 2010, 07:59 PM
Could you post the output of 'java -version'.