Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install javax.comm and get it to work!!

Status
Not open for further replies.

4waystop

Programmer
Aug 30, 2004
19
GB
Hi

I'm having trouble installing javax.comm onto j2sdk1.4.2_06. I've put all the files in the place detailed in the documentation, but all I get on running BlackBox is the "No ports found!" error. I'm using Eclipse, so I've pointed the build path to comm.jar. Eclipse is happy with the code and I don't get any problems compiling but as I said when I try to run I get that error. I've tried moving both the .dll and the .properties files into various locations all to no avail. I even deleted them both and I still get the same result!!

So this makes me think maybe I need to point to them in the classpath in some way? All suggestions much appreciated!

Many Thanks
4waystop
 
Where did you put the dll ? Is it in the LD_LIBRARY_PATH ?

--------------------------------------------------
Free Database Connection Pooling Software
 
Sorry - I'm not sure how you get to this path variable. I've gone to the project properties window within eclipse and added comm.jar to the libraries listed withing the java build path. I haven't references the dll file anywhere, just the .jar file.

The dll is in the jdk/dre/bin folder.
 
Well that sounds OK ...
Have you actually got a serial port on your PC ?

--------------------------------------------------
Free Database Connection Pooling Software
 
Haha! Yes there's a serial and a parallel port. Neither of them are found with any of the example programs provided with the javax.comm extension. I just get the no ports found error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top