Comment on Tutorial - List all the serial and parallel ports in your system using Java By Ashish



Comment Added by : dhananjay padalkar

Comment Added at : 2010-02-13 19:20:27

Comment on Tutorial : List all the serial and parallel ports in your system using Java By Ashish
I had just copied the code & tried to execute under WinXP SP2
it i got mesage
--------------------Configuration: <Default>--------------------
Caught java.lang.ClassNotFoundException: com.sun.comm.Win32Driver while loading driver com.sun.comm.Win32Driver
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljava/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver

Process completed.

-----------

i have enviroment setting & file copied like
comm.jar should be placed in:
%JAVA_HOME%/lib
%JAVA_HOME%/jre/lib/ext

win32com.dll should be placed in:
%JAVA_HOME%/bin
%JAVA_HOME%/jre/bin
%windir%System32


javax.comm.properties should be placed in:
%JAVA_HOME%/lib
%JAVA_HOME%/jre/lib


View Tutorial



Ask a Question

Subscribe to Tutorials

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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions 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

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i get this error too but i dont start the mysql se
View Tutorial          By: Head at 2009-02-27 00:47:43

2. Thanks a lot!
The main reason why we need t

View Tutorial          By: SA at 2011-06-24 15:00:13

3. Hi, you put a semicolon after "int main()&quo
View Tutorial          By: noel4037 at 2009-12-28 06:40:17

4. I would like to know how to obtain the object that
View Tutorial          By: Steve at 2012-01-18 15:58:31

5. very nice tutorial.. keep it up. cheers

View Tutorial          By: chanchal at 2013-01-24 06:54:23

6. thnx for the nice tutorial. but i need to create a
View Tutorial          By: sharath at 2013-09-07 16:29:19

7. hi ,
i am a beginner in java. please tell m

View Tutorial          By: aun at 2011-11-18 06:47:56

8. Hi.. Everyone... i would like to send and received
View Tutorial          By: Michael at 2011-01-29 23:43:23

9. Thanks, it was really helpful.
But wouldn't

View Tutorial          By: Ron at 2010-06-27 14:22:36

10. Awesome article. It's very useful. Despite it didn
View Tutorial          By: Matheus at 2015-02-24 12:06:05