• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java COM API

 
Jose Ortuno
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all out there,
Althoug I have followed all instrtuction to intall java comm api on my system when I try to run the sampples programs they cannot detect any port in my computer.
The documetation claims:
To place the win32com.dll in <jdk>\jre\bin directory.
Solaris: put the libSolarisSerialParallel.so in the LD_LIBRARY_PATH.
Place the comm.jar in <jdk>\jre\lib\ext.
Place the javax.comm.properties in <jdk>\jre\lib .
And avoid to modigy the CLASSPATH.
However at compilation time java find all package correctly but not at run time.
I have to full qualify the path where my comm.jar is.
And finally whe I run the application I got the message:
"parallel port not found!"
So, what's worng here?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It has been years since I messed with it but I recall that getting the configuration data in the properties file exactl right and getting the file where the package looked for it were the most tricky points.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!