Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Netbeans cRIO and newer Java (http://www.chiefdelphi.com/forums/showthread.php?t=139598)

stu54 23-11-2015 21:06

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!

Ben Wolsieffer 24-11-2015 09:02

Re: Netbeans cRIO and newer Java
 
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.

stu54 24-11-2015 14:28

Re: Netbeans cRIO and newer Java
 
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.


All times are GMT -5. The time now is 10:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi