Farewell to Java 6?
With the first release ever of a Java VM by Oracle for Mac OS X, a long, long time problem has probably been solved. Now we have a single producer of VM, Oracle, that can produce bits for all the major operating systems (Windows, Linux, Mac OS X) and release in the same moment. In the past Apple was entirely responsible for bits on Mac OS X with a chronical delay with respect to the other operating systems.
This is also the first official, non early-access release of a JDK 7 for Mac OS X and makes it possible to get aligned to Java 7 for our projects. Java 6 is going to end its life in a few months and my intention is to have all my projects relying on Java 7 within this Summer. Some of them has been already put under CI with parallel Java 6 and Java 7 builds since a few time, as well as running in production with JDK 7. Now that I can compile them in Java 7 also on my Mac OS X laptop (NetBeans 7.1.2 also runs fine with JDK 7 on Mac OS X), I can start dropping support for Java 6, setting -source and -target 1.7. Which also means that I can start using the new Java 7 features.
The process is not necessarily without problems, and I'll blog about one that I faced with (and solved) yesterday in my next post.