Latest Apple Java Update Breaks my Ant Projects

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

  1. macrumors 68020

    bobber205

    #1
    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. macrumors 603

    #2
    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. macrumors 6502

    #3
    Could you post the output of 'java -version'.
     

Share This Page