Skip to main content



      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 04: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 05:01 Go to previous messageGo to next message
Eclipse UserFriend
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 11:05 Go to previous message
Eclipse UserFriend
/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 May 06 07:36:11 EDT 2025

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

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

Back to the top