View Single Post
  #5   Spotlight this post!  
Unread 15-08-2014, 19:41
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: How to use Java 5 on the cRIO

Our team has had success with using RetroTranslator to let us write our core libraries in Java 5 and downgrade them to run on the cRIO - and it did, actually, work pretty reliably for us last year.
It has a few issues with anonymous classes, so we don't use in for our main robot coding, but it proved useful to write the CCRE's primary abstractions.
We also rewrote a large part of the collections library to run, though probably you could drop in the recent JRE implementations of this library if you aren't worrying about licensing issues.

Additionally, supposedly the eclipse compiler can target an earlier bytecode version than source version, which might be a more reliable method of doing this kind of retargetting.
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook