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



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. Thanks dear
View Tutorial          By: Muthin at 2009-04-29 00:32:24

2. wow...great MAN
View Tutorial          By: Er Sounderarajan at 2013-03-13 07:29:58

3. Iwant javascript or Android.Thankyou
View Tutorial          By: bahman at 2013-01-01 01:27:20

4. Gives a syntax error
View Tutorial          By: Siddharth at 2015-06-10 05:15:00

5. plz any one send me the code for sending and recei
View Tutorial          By: ankush at 2013-09-20 07:47:27

6. FYI, if you're using NetBeans, the input file shou
View Tutorial          By: pberg at 2013-03-28 17:00:16

7. If the compiler takes care of this pointer implici
View Tutorial          By: Bhanu Noah at 2012-03-15 16:20:05

8. Please
Can you help me ^-^
I use th

View Tutorial          By: HNO11 at 2011-03-28 11:08:28

9. Hi, I need the library of Communication API, to ru
View Tutorial          By: arun at 2008-10-23 05:10:06

10. Thanks for the useful tutorials abt strtus 1 vs St
View Tutorial          By: Sudharsan at 2011-12-03 11:54:58