FRC java version.

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.

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. I’m not sure if it will work or not, but I guess it’s worth a try. Good luck!

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.