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
Java program to get location meta data from an image
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
Archived Comments
1. Never use gets for taking inputs from users. Your
View Tutorial By: Aneesh Dogra at 2012-07-20 04:08:32
2. One of the best
View Tutorial By: Sudhir at 2009-12-22 01:45:28
3. mail goes as a single line statement, how to prese
View Tutorial By: kishor at 2011-06-23 13:35:21
4. Hi Devi, After you download the 5 programs you nee
View Tutorial By: Ramlak at 2008-04-01 01:51:42
5. Hi,
how can make a report to display one re
View Tutorial By: david at 2013-08-30 16:09:23
6. Thanks a lot!
The main reason why we need t
View Tutorial By: SA at 2011-06-24 15:00:13
7. hi i want to know
can i sent picture of si
View Tutorial By: Nauman Khalid at 2011-12-10 11:50:39
8. Unfortunatelly this a BAD example of to communicat
View Tutorial By: Mladen Covic at 2013-03-28 15:08:04
9. please explain thread t=new thread(this,name). Wha
View Tutorial By: Bhavin at 2012-09-28 12:26:55
10. Nice n simple ex!!!!!!!!!!!!!!!!!!!
View Tutorial By: Siya at 2010-11-17 07:08:34