Java Update Headaches -- Ant Breaks Everytime

Discussion in 'Mac Programming' started by bobber205, Mar 23, 2011.

  1. bobber205 macrumors 68020


    Nov 15, 2005
    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.

    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!
  2. vocaro macrumors regular

    Mar 5, 2004
    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.

Share This Page