Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 14.04/Uno R3 NoClassDefFoundError: gnu/io/PortInUseException #36

Open
jjphung opened this issue Sep 5, 2015 · 1 comment
Open

Comments

@jjphung
Copy link

jjphung commented Sep 5, 2015

Hi, I am trying to incorporate JArduino into Eclipse on Ubuntu 14.04. I have successfully compiled and uploaded JArduino firmware onto my board. However upload running the Blink.java example I get this run-time error:
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/PortInUseException
at Blink.main(Blink.java:42)
Caused by: java.lang.ClassNotFoundException: gnu.io.PortInUseException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
I have confirmed my board working using the native Arduino IDE. I have heard issues about Ubuntu 14.04 with the RXTX libraries of new port mappings and what not. Does anyone know to to fix the ports for JArduino? I have been stuck on this issue for several days now. Thank you

@jsutaria
Copy link
Contributor

jsutaria commented Nov 4, 2016

A. Make sure you are using the correct port, as this is quite important. The method I use to see what port my Arduino is on is to open the IDE and select your board and use that.
B. Try unplugging the board, then replugging it in.
C. Attempt to re install the firmware, then quit the Arduino IDE, and attempt to use the GUI provided by Jarduino.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants