• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Communications API error on JRE Environment

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Other Java APIs...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic