Netbeans cRIO and newer Java

I am using our old cRIO for some off-season development. So this means I am also using Netbeans and the 2014 FRC plug-ins. I would like to use some newer Java features like enum but it looks like the FRC plug-ins are tied to a much older version of the JDK.

Is it possible to use a newer JDK with the 2014 WPILib/FRC plug-ins? I could not figure out where in the Ant build scripts the java compiler path is specified but maybe I don’t understand how code is compiled for the cRIO.

Thanks!

You cannot use a newer JVM on the cRIO, because it does not use the standard Oracle JVM, like the roboRIO. The cRIO uses the Squawk VM, which only implements Java 2 features.

Thanks for the reply. I am using the cRIO for non-competition use so I wonder if the Squawk VM can be recompiled to use more up-to-date Java features. I saw a project for it on Java.net but I don’t know if that could be updated or recompiled for newer features.