Log in

View Full Version : FRC java version.


daniel_dsouza
08-06-2012, 14:56
Hello CD,

Whenever I try to use certain features in one of my robot programs (for example a "foreach" or an "enum"), netbeans gives an error saying that these features aren't supported in my java version.
I have the latest java sdk (7.something). I also have a sneaking suspicion that our robot uses version 3.
How can I fix this?

Thanks,
Daniel D.

vinnie
08-06-2012, 18:56
The cRIO runs Java ME, which does not support any of those features :mad:
I haven't used this, but you might want to try retroweaver (http://retroweaver.sourceforge.net/). I'm not sure if it will work or not, but I guess it's worth a try. Good luck!

daniel_dsouza
25-06-2012, 00:25
So is there any hope for advanced programming features in Java?

The reason we choose Java is that we wanted a forgiving and flexible text-based language. Can we expect an update for the cRIO?

C# is pretty close. And it could be used with those nice Dreamspark cards (visual studio, robotics dev. kit). I had wanted to avoid C++, because it isn't very easy to teach, and I don't like Windriver.