Go to Post Ironically, I think the best testament to the program [Dean Kamen] founded and his ideals wouldn't be if he won a Nobel Prize. It would be if you did. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-11-2015, 21:06
stu54 stu54 is offline
Registered User
None #2458
 
Join Date: Jul 2014
Location: US
Posts: 11
stu54 is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 24-11-2015, 09:02
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
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.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #3   Spotlight this post!  
Unread 24-11-2015, 14:28
stu54 stu54 is offline
Registered User
None #2458
 
Join Date: Jul 2014
Location: US
Posts: 11
stu54 is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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