A couple of days ago I received my new MacBook Pro! After some first struggles with Mac OS X and shortcuts, I am now starting to feel comfortable and I learn more and more each day. I was a 60 % Windows and 40 % Linux user and my forecast is that in one year I will be 70 % Mac, 15 % Windows, and 15 % user. However, there are some bumps on the road to Mac-land.
Mac ships with Java 1.5 and 1.6 is available too. The problem is that only binaries are installed and as a serious developer you need also sources and documentation. So to get them, you have to join the Apple Developer Connection (the free version does it) and download the Java for Mac OS X 10.5 Update 2 Developer Documentation (or probably a higher version in the future). The download is around 130 MB and includes sources/documentation for Java 1.5 and 1.6. Probably you have to set the src.jar and docs.jar manually to existing JVMs or just delete and add the existing ones.
Eclipse: Preferences - Java - Installed JREs - Select Installed JRE and click Edit
NetBeans: Tools - Java Platform - Add or select the right Tab


