Snow Leopard ate my Java
Wednesday, September 2, 2009
I was somewhat surprised to find that I could no longer compile some of my Java projects though. It turns out that Snow Leopard includes Java 1.3 and 1.6 but not 1.5. It actually creates symlinks from the 1.5/1.5.0 directories to the 1.6.0 directory. Unfortunately Java 1.6 is not backwardly compatible with 1.5 (well, the language mostly is, but there are significant differences in some APIs).
If you are impacted by this issue then the good news is that it is very simple to resolve. You simply need to restore the 1.5.0 directory from your backup. This was very simple with time machine, and it was good to have a reason to finally try out a time machine restore.


4 Comments:
thx, I see.
Time machine saves much. ^^b
1.3?? Surely you meant 1.4....
guymac - No, Snow Leopard ships with versions 1.3.1 and 1.6.0 only.
Andy, have to agree. Unfortunately didnt find your blog until I had solved my own (very similar issues). First thing I knew was when IdeaVIM kept stacktracing everytime you wanted to open a file. NOt the most convenient thing for an editor ! Finally sorted the 1.6 issues out and 8.1.3 is now humming along. Should really have this on an FAQ at Jetbrains !
Post a Comment
<< Home