Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Sun Communcation API installation under Eclipse and use ?
Sun Communcation API installation under Eclipse and use ? [message #240694] Wed, 12 May 2004 08:34 Go to next message
Eclipse UserFriend
Originally posted by: fb.idylic.com

Hello,

I have to use the Comm API from Sun to connect to my serial port. I am
under Windows and so I have to install a dll (win32comm.dll) into the
jdk_dir\bin\ directory but when I write a program under Eclispe using the
Comm API and I run it under Eclipse, it doesn't work ! no port found !
because I think the win32com.dll is not a the right place or must be
linked to my project but how ??

Help me !

Thanks in advance !

Best regards

François
Re: Sun Communcation API installation under Eclipse and use ? [message #240804 is a reply to message #240694] Wed, 12 May 2004 09:01 Go to previous messageGo to next message
Guillaume Pothier is currently offline Guillaume PothierFriend
Messages: 107
Registered: July 2009
Senior Member
Are you sure the JDK used by eclipse is the same as the jdk where you
installed your dll? You could try launching eclipse with -vm
/path/to/jdk, just to be sure...
Does your program work when launched from the command line?

François Breuiller wrote:
> Hello,
>
> I have to use the Comm API from Sun to connect to my serial port. I am
> under Windows and so I have to install a dll (win32comm.dll) into the
> jdk_dir\bin\ directory but when I write a program under Eclispe using the
> Comm API and I run it under Eclipse, it doesn't work ! no port found !
> because I think the win32com.dll is not a the right place or must be
> linked to my project but how ??
>
> Help me !
>
> Thanks in advance !
>
> Best regards
>
> François
>
Re: Sun Communcation API installation under Eclipse and use ? [message #240884 is a reply to message #240694] Wed, 12 May 2004 15:05 Go to previous message
Stanimir Stamenkov is currently offline Stanimir StamenkovFriend
Messages: 256
Registered: July 2009
Senior Member
/François Breuiller/:

> I have to use the Comm API from Sun to connect to my serial port. I am
> under Windows and so I have to install a dll (win32comm.dll) into the
> jdk_dir\bin\ directory but when I write a program under Eclispe using the
> Comm API and I run it under Eclipse, it doesn't work ! no port found !
> because I think the win32com.dll is not a the right place or must be
> linked to my project but how ??

IIRC, you should copy the .dll to <jdk_home>/jre/bin/ or you may try
to copy it to a more common location like %windir%\System32.

--
Stanimir
Previous Topic:same project and class name
Next Topic:Hard to learn Interface [bad learning curve :-(]
Goto Forum:
  


Current Time: Tue Jul 16 11:55:52 GMT 2024

Powered by FUDForum. Page generated in 0.03721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top