Archive for the ‘Uncategorized’ Category

Java 1.5 on a Mac

Friday, December 18th, 2009

A few months ago I upgraded my macbook pro to snow leopard. All of a sudden my project wouldn’t compile anymore. It appeared that my 1.5 java libraries were deleted and a symbolic link was created from 1.5 to the 1.6 directory. Very nice.

So I downloaded the latest 1.5 release from the Apple site (for Mac OS 10.5.8) and installed it. I pretty soon was back in business.

Now I just completed an automatic update from Apple which stated a new version of the Java 1.6 release. I hoped it would only touch the 1.6 version.. well, it didn’t. The 1.5 was deleted _once more_ and _once more_ they replaced it with a symbolic link to java 1.6.

Do they even know at Apple the differences between Java 1.5 & Java 1.6?

Anyway, it’s fixable. I was lucky as one 1.5 version was not deleted,  being version ’1.5.0 1′ (indeed, with space in it). Doing the following I am _again_ back in business. I am wondering for how long..

cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -sF 1.5.0\ 1/ 1.5

And somehow the world still turns..

Legacy

Tuesday, December 15th, 2009

What’s worse: legacy code or legacy developers ?