Added some helper poo to alternate between Java 6 and 7. Java 6 is default again.