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. Good Tutorial.
Thanks.

View Tutorial          By: Oki Wicaksono at 2012-05-29 04:09:05

2. This site is sufficient for learning the programmi
View Tutorial          By: Shaheryar Khlaid at 2011-07-25 20:36:01

3. that is fifo rigth? how about lifo?
View Tutorial          By: galz at 2015-02-18 03:03:31

4. Is there any way to show the dynamic bean value in
View Tutorial          By: Bala at 2008-05-04 01:40:18

5. is there a way to notify a specific thread?
View Tutorial          By: bob at 2010-03-23 11:57:29

6. Change the line from
imgView.setBackgroundR

View Tutorial          By: laki at 2012-05-02 08:59:25

7. Simple and to the point. Thanks for this tutorial.
View Tutorial          By: Balvinder at 2008-08-03 04:40:05

8. This the very good introduction to the J2ME for th
View Tutorial          By: chetan jain at 2010-04-01 06:39:32

9. please help me on "why subclass of stack is
View Tutorial          By: mahendra at 2012-12-15 03:39:22

10. pls send me the brief description about jdbc conne
View Tutorial          By: vikas at 2011-08-09 07:07:53