• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java Communications API error on JRE Environment

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Moving to Other Java APIs...
 
The knights of nee want a shrubbery. And a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic