adding native libaries [message #465517] |
Sat, 31 March 2007 11:13 |
Eclipse User |
|
|
|
Originally posted by: vze3gfkr.verizon.net
I need some help with adding native libraries to my RCP application. I
am using the jogl library and have added the jogl.jar file to the
project "Java build path" under project properties. I then tried to add
the .dll files that this jar file uses under the "native library
location" also in the same menu. When I then run the application I get
the error message
java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
etc....
However when I load the .dll files into the java jre folder
java/jre1.5.0_06/bin
the application runs. any help with this would be greatly appreciated
regards
fintan
|
|
|
|
Re: adding native libaries [message #465547 is a reply to message #465526] |
Mon, 02 April 2007 09:26 |
Eclipse User |
|
|
|
Originally posted by: vze3gfkr.verizon.net
Thanks for the help Marcel, that fixed the problem. Originally i had the
dll in a folder at the top level but that did not work.
Marcel wrote:
> Add the jogl librarys to your classpath (*.jar) and copy the native jogl librarys (Windows: *.dll or Linux: *.so) directly in the top level of your Rcp project. This will work.
>
> Another way is also described in the article from Alex Blewitt -> http://www.eclipsezone.com/articles/eclipse-vms/?source=arch ives
|
|
|
Powered by
FUDForum. Page generated in 0.02268 seconds