Latest Apple Java Update Breaks my Ant Projects

Discussion in 'Mac Programming' started by bobber205, Nov 5, 2010.

  1. bobber205 macrumors 68020


    Nov 15, 2005
    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
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    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.
  3. mrbash macrumors 6502

    Aug 10, 2008
    Could you post the output of 'java -version'.

Share This Page