Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem with Communication API

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

i have been working with communications API..
recently i had to work on windows 2003 server and all the classes that worked with other OS in windows family like 2000 and XP have been giving me problems in 2003
the communication API i have set as i have been doing all the time at approriate places in jdk.
but in 2003 the class complies but dosent run and gives the following error

Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/SerialPortEventListene
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at Source)
at Source)
at$100(Unknown Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

in other case these work fine when i work with netbeans and compile them in netbeans environment
i have tried setting class path in environment variables but all in vain

i have been greatly troubled by this

can anybody help me with this

thank you in advance

Straws are for suckers. Now suck on this tiny ad!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic