Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / March 2006

Tip: Looking for answers? Try searching our database.

Eclipse and jogl.jar

Thread view: 
id_usenet@yahoo.com - 09 Mar 2006 04:22 GMT
It's been some time since I last used Java and I was trying to get into
it again using Eclipse as IDE and jogl for visualization. My HelloWorld
app compiles, but when running it I get:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in
java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)

I have tried copying the jogl.jar file into /jre/bin/ext , updating the
env. variable, and also passing the complete pathname of the jar to the
VM with the -D option. The error message still remains the same.

How do you set up Eclipse to make sure it tells the VM where all
external jars are located ?
IchBin - 09 Mar 2006 04:43 GMT
> It's been some time since I last used Java and I was trying to get into
> it again using Eclipse as IDE and jogl for visualization. My HelloWorld
[quoted text clipped - 10 lines]
> How do you set up Eclipse to make sure it tells the VM where all
> external jars are located ?

If you are trying to run it from within Eclipse.. Then

- Right click on your project and select properties.
- The select Java Build Path
- then add the link to the jogl.jar there

You should be ok to run after that..

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Roedy Green - 09 Mar 2006 05:21 GMT
>How do you set up Eclipse to make sure it tells the VM where all
>external jars are located ?

edit build path
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

grubertm@gmail.com - 12 Mar 2006 09:39 GMT
Tried it, but changing the build path does not change a thing. The
project build path libraries tab now contains the JRE1.5.0 system
libraries as well as a reference to jogl.jar. I also tried adding the
DLL path to the native library tab of jogl.jar. Still no go
Roland de Ruiter - 12 Mar 2006 13:47 GMT
> Tried it, but changing the build path does not change a thing. The
> project build path libraries tab now contains the JRE1.5.0 system
> libraries as well as a reference to jogl.jar. I also tried adding the
> DLL path to the native library tab of jogl.jar. Still no go

Works for me. WinXP/Eclipse 3.1/latest JOGL from jogl.dev.java.net

Did you extract the DLL files from the jogl-natives-win32.jar? The
native library location should refer to a directory containing the DLLs,
not just the jogl-natives-win32.jar.

Regards,

Roland
mjb - 13 Mar 2006 19:18 GMT
> It's been some time since I last used Java and I was trying to get into
> it again using Eclipse as IDE and jogl for visualization. My HelloWorld
[quoted text clipped - 10 lines]
> How do you set up Eclipse to make sure it tells the VM where all
> external jars are located ?

see:
http://www.euclideanspace.com/software/language/java/eclipse/

(about half way down the page)

Martin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.