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
View Tutorial          By: sowmya at 2012-07-10 14:22:50

2. If you are working with the multi-threaded program
View Tutorial          By: Prithvi at 2010-01-07 10:24:12

3. This says nothing meaningful.

So ho

View Tutorial          By: Andreas at 2012-09-23 23:01:01

4. int iNum2 = parseInt(â0xAâ); //ret
View Tutorial          By: Doug Whitehead at 2008-12-01 21:27:55

5. hey it is really good notes, to give an idea of
View Tutorial          By: Pawan at 2011-03-26 05:17:28

6. javax.comm.NoSuchPortException
at javax.co

View Tutorial          By: vijay at 2013-12-03 07:32:38

7. Awesome............
View Tutorial          By: Amol at 2011-06-11 05:32:49

8. Zabardast
View Tutorial          By: Rohan at 2011-11-03 08:25:59

9. i really hate do while loop statement, can u pls h
View Tutorial          By: mARjO at 2011-09-01 03:50:18

10. HI.KEEP ME ON WORK I HAVE MASTER PROGRAMMING C++ <
View Tutorial          By: NINHNGUYEN at 2011-06-19 12:54:20