Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » adding native libaries
adding native libaries [message #465517] Sat, 31 March 2007 11:13 Go to next message
Eclipse UserFriend
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 #465526 is a reply to message #465517] Sun, 01 April 2007 08:39 Go to previous messageGo to next message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
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
Re: adding native libaries [message #465547 is a reply to message #465526] Mon, 02 April 2007 09:26 Go to previous message
Eclipse UserFriend
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
Previous Topic:[Double Dependency] - Question
Next Topic:Freeze of the whole Windows System
Goto Forum:
  


Current Time: Thu Apr 18 12:44:56 GMT 2024

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

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

Back to the top