Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do I use rxtxSerial.dll from the program directory?

843785Sep 1 2008 — edited Sep 1 2008
I've written a java program in Windows XP, and I'm using the RXTX library. But I'm having problems when I try to run it.

I'm getting an exception error: "UnsatisfiedLinkError: no rxtxSerial in java.library.path", and of course it refers to that it cannot find the file rxtxSerial.dll.

This can be solved by placing the dll file in the <JAVA_HOME/bin/rxtxSerial.dll> directory. But I want, if it's possible, for the file to be in current program directory, so transferring the program from one computer to another is as easy as possible. Is this possible?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2008
Added on Sep 1 2008
6 comments
1,017 views