Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

CommAPI with JDK 1.5 and XP SP2

Thread view: 
LG - 08 Oct 2005 15:03 GMT
I am having serious problems getting the Java CommAPI to work on
WindowsXP SP2 and JDK1.5. All components are in the right spot and
comm.jar is being found, but I still get 'No serial ports found!'

Is anybody aware of any issues with this configuration. I have used it
with JDK 1.4 and XP before.

Are there any alternatives to the CommAPI for Serial Port access ?

Thanks in advance,

Leo
Kimmo Tuukkanen - 08 Oct 2005 16:53 GMT
> Is anybody aware of any issues with this configuration. I have used it
> with JDK 1.4 and XP before.

It should work if you copy the files like this:

win32com.dll             <JRE_HOME>\bin\
javax.comm.properties    <JRE_HOME>\lib\
comm.jar                 <JRE_HOME>\lib\ext\
comm.jar                 <JDK_HOME>\jre\lib\ext\

Alternatively, you can skip the last two lines if you put the jar-file
in your CLASSPATH, which in my opinion is not the right way to do it.

Signature

Kimmo Tuukkanen
http://users.tkk.fi/~katuukka/

LG - 09 Oct 2005 04:18 GMT
>> Is anybody aware of any issues with this configuration. I have used it
>> with JDK 1.4 and XP before.
[quoted text clipped - 8 lines]
> Alternatively, you can skip the last two lines if you put the jar-file
> in your CLASSPATH, which in my opinion is not the right way to do it.

Thank you Kimmo !!!

javax.comm.properties    <JRE_HOME>\lib\

Was the problem.

Cheers from down under,

Leo


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.