How to set up java.library.path in eclipse in linux? [message #304682] |
Wed, 14 June 2006 05:50 |
Eclipse User |
|
|
|
Originally posted by: brandonchen.realtek.com.tw
Hi,
I need to run a JNI .so object for java in linux system.
This line System.loadLibrary("myJNI") will casue error message:
java.lang.UnsatisfiedLinkError: no myJNI in java.library.path
Thus I guess I need to set up the path for java.library.path in eclipse. How
to set up the path? Appreciated for any reply!
Sincerely,
Brandon
|
|
|
Re: How to set up java.library.path in eclipse in linux? [message #304700 is a reply to message #304682] |
Wed, 14 June 2006 09:58 |
Eclipse User |
|
|
|
Originally posted by: brandonchen.realtek.com.tw
Sorry for the second post.
The plug-ins project we are doing needs to reference to some .so objects.
Here is another question:
1. The plug-ins will be exported as Jar files. Is it possible to include the
..so objects into the jar files? In other words, the .so objects are inside
the jar files and the users only need to import these jar files to run the
program.
Is this a good appraoch?
2. How to set up the java.library.path permanently?
Appreciated for any help..,
Brandon
----- Original Message -----
From: "Brandon" <brandonchen@realtek.com.tw>
Newsgroups: eclipse.platform
Sent: Wednesday, June 14, 2006 1:50 PM
Subject: How to set up java.library.path in eclipse in linux?
> Hi,
>
> I need to run a JNI .so object for java in linux system.
> This line System.loadLibrary("myJNI") will casue error message:
>
> java.lang.UnsatisfiedLinkError: no myJNI in java.library.path
>
> Thus I guess I need to set up the path for java.library.path in eclipse.
How
> to set up the path? Appreciated for any reply!
>
> Sincerely,
>
> Brandon
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03122 seconds