Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using javax.comm API  RSS feed

 
chuck knipe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!