Comment on Tutorial - Sample Java program shows how to write to COM port using Java. By Johanes
Comment Added by : Ashkan
Comment Added at : 2009-12-19 21:51:19
Comment on Tutorial : Sample Java program shows how to write to COM port using Java. By Johanes
Hello,
I've got javax.comm and followed carefully the installation guide on Linux(ubuntu9.04), when I try to run java BlackBox I get error below:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/NoSuchPortException
Caused by: java.lang.ClassNotFoundException: javax.comm.NoSuchPortException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: BlackBox. Program will exit.
Please help. what should I do?
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Archived Comments
1. it is good
View Tutorial By: kamal at 2009-11-01 19:58:54
2. whether the below command will work
Math o
View Tutorial By: Gowrish Sagar at 2015-10-05 10:36:35
3. How make comunication between client and server, s
View Tutorial By: alex at 2009-01-30 07:12:49
4. Nice Article.
View Tutorial By: Swathi Kumar at 2012-04-15 10:44:14
5. i cannot add attachment
its saying
&
View Tutorial By: Rintu Das at 2012-05-04 18:07:48
6. Thanks for the Information. Its very useful
View Tutorial By: Husain at 2009-03-04 13:30:38
7. This example is very useful....Thanks for your sha
View Tutorial By: raji at 2015-05-22 07:19:07
8. just remember to add
<uses-permission an
View Tutorial By: Mouad at 2013-07-22 10:47:27
9. example required
View Tutorial By: revathy at 2009-09-03 01:53:04
10. Where should I put the xml file ??????????
View Tutorial By: Marya at 2014-03-21 16:01:13