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

Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier #8

Open
aj22r opened this issue Jan 7, 2018 · 2 comments

Comments

@aj22r
Copy link

aj22r commented Jan 7, 2018

I have RXTXcomm.jar in C:\Program Files (x86)\Java\jdk1.8.0_131\jre\lib\ext and rxtxSerial.dll in C:\Program Files (x86)\Java\jdk1.8.0_131\jre\bin but it still gives me the error

@mkeller0815
Copy link
Owner

Please follow the installation instructions in http://rxtx.qbang.org/wiki/index.php/Installation_for_Windows
Also check that the SimpleJBurn is executed by the java version you have the rxtx lib installed for.
Hope that helps.

@leomil72
Copy link

leomil72 commented Jan 12, 2019

I have librxtx installed in my system but get the same error. Ah, I'm using Linux:

Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier at SimpleJBurn.MySerial.getAvailableSerialPorts(MySerial.java:36) at SimpleJBurn.MainFrame.initComponents(MainFrame.java:329) at SimpleJBurn.MainFrame.<init>(MainFrame.java:270) at SimpleJBurn.SimpleJBurn.main(SimpleJBurn.java:17) Caused by: java.lang.ClassNotFoundException: gnu.io.CommPortIdentifier at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 4 more

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

3 participants