I am currently trying to develop a program utilizing Sun's
Java Communications API (javax.comm). The program in question runs fine on my laptop where I have JDK 1.4.2_05 installed along with JRE 1.5.0_01 but when I try running it on a desktop computer with only JRE 1.5.0_01 installed, I get ...
Exception in
thread "main" java.lang.NoClassFoundDefFoundError: javax/comm/UnsupportedCommOperationException
I have placed the following files in the following locations on the desktop computer...
JREPATH/lib/comm.jar
JREPATH/lib/javax.comm.properties
JREPATH/bin/win32com.dll
Also, here are my path statements on both my laptop and my desktop. While you will notice that the Desktop does have the Novell Client installed, I did try removing that temporarily and noticed no change...
Desktop Path (Only JRE)
--------------------------------------------
"C:\Program Files\Java\jre1.5.0_01\lib\mysql-connector-java-3.1.7-bin.jar";
"C:\Program Files\Java\jre1.5.0_01\lib\comm.jar";
"C:\Program Files\Java\jre1.5.0_01\lib\";
"C:\Program Files\Java\jre1.5.0_01\bin\";
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SystemRoot%\system32\nls;
%SystemRoot%\system32\nls\ENGLISH;
C:\Program Files\Novell\ZENworks\;
C:\Program Files\Common Files\Adaptec Shared\System;
Laptop Path (JDK 1.4.2_05 and JRE 1.5.0_01)
--------------------------------------------
C:\Program Files\Common Files\Sonic Shared;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\j2sdk1.4.2_05\lib\comm.jar;
"C:\Program Files\Java\jre1.5.0_01\lib\mysql-connector-java-3.1.7-bin.jar";
"C:\Program Files\Java\jre1.5.0_01\lib\";
C:\j2sdk1.4.2_05\bin;
C:\Program Files\Executive Software\Diskeeper\;
C:\Program Files\ATI Technologies\ATI Control Panel
If anyone could help provide some about this and how they have their paths configured on stations with only a JRE, I would be most appreciative.
Regards;
Jayson Schultz