• 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

Using javax.comm API

 
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 using NT 4.0 and running JDK version 1.2.2 and I have downloaded the javax.comm API from the Sun website. I followed the installation instructions for the JDK1.2 version and placed the win32com.dll, comm.jar and javax.comm.properties files in the appropriate directories(e:\jdk1.2.2\jre\bin, e:\jdk1.2.2\jre\lib\ext, and e:\jdk1.2.2\jre\lib respectively). I then tried a small program to enumerate the ports it could find and it comes back empty. The FAQ files from Sun reiterate the need to have the javax.comm.properties file in the correct location (I've tried several) in order to correctly find ports, but I still have not had any luck.
Anyone have any suggestions on what to try next? I suspect it is a simple matter of not finding one or more of the files in my jdk1.2.2 directory.
Thanks for the help.
Chuck
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure the comm .jars are in your classpath.
If you need any help with comm, I've used it quite a bit, and might be able to answer questions you have.

Originally posted by chuck knipe:
I am using NT 4.0 and running JDK version 1.2.2 and I have downloaded the javax.comm API from the Sun website. I followed the installation instructions for the JDK1.2 version and placed the win32com.dll, comm.jar and javax.comm.properties files in the appropriate directories(e:\jdk1.2.2\jre\bin, e:\jdk1.2.2\jre\lib\ext, and e:\jdk1.2.2\jre\lib respectively). I then tried a small program to enumerate the ports it could find and it comes back empty. The FAQ files from Sun reiterate the need to have the javax.comm.properties file in the correct location (I've tried several) in order to correctly find ports, but I still have not had any luck.
Anyone have any suggestions on what to try next? I suspect it is a simple matter of not finding one or more of the files in my jdk1.2.2 directory.
Thanks for the help.
Chuck


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic