Getting totally confused and frustrated (because "simple" things are not working). Need some advice on java versions.
I have built a robot with motors, leds, ir wheel encoders, sonar, and pan/tilt servo's. So far I have been using java ME8 and netbeans (and followed a large part of the Oracle MOOC course on java me). All things where I had to use direct gpio input and output are working fine. Then I got to servo control and needed to use servoblaster but was unable to open /dev/servoblaster to send commands to it. (see my other posted question on pwm control in this forum).
After spending several days on it I decided to try JAVA SE instead. Then I can easily open /dev/servoblaster, servos are working fine, very easy, but I am loosing the capability to do direct io to the gpio ports. I managed to add the jdk.dio libraries to the project in netbeans but am unable to run the commands subsequently on the raspberry PI.
So which route to go:
1) continue to use JAVA ME but how to solve the access issue to /dev/servoblaster
2) switch to JAVA SE which solves the servoblaster issue, but then how to control gpio in the same way as I am used to in JAVA ME
3) use JAVA SE and PI4J, rewrite what I have done so far
4) other options ? .....
Did a lot of googling, found a lot of info, also a lot of outdated info, which does not really help and just adds to the confusion.
Who can offer some advice?
Thanks,
Willem