Re: Eclipse and jogl.jar



id_usenet@xxxxxxxxx wrote:
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 ?

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..

--

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-)
.



Relevant Pages

  • Re: Eclipse and jogl.jar
    ... it again using Eclipse as IDE and jogl for visualization. ... Exception in thread "main" java.lang.UnsatisfiedLinkError: ... How do you set up Eclipse to make sure it tells the VM where all ... external jars are located? ...
    (comp.lang.java.softwaretools)
  • Eclipse and jogl.jar
    ... it again using Eclipse as IDE and jogl for visualization. ... How do you set up Eclipse to make sure it tells the VM where all ... external jars are located? ...
    (comp.lang.java.softwaretools)
  • Re: A constructive debate: Eclipse or NetBeans?
    ... I just compare Java development ... an error to call them caches if Eclipse won't invalidate them when they ... What does it matter how "much" the project uses OpenGL. ... when you build JOGL and different options when you try to run their demos. ...
    (comp.lang.java.softwaretools)
  • Re: eclipse help
    ... in that block, within the catch statement, eclipse doesn't allow me to ... define the specific instance of the exception. ... The reason that you don't see this with Exception is that it is in java.lang package which is visible by default and needs no import. ... What I usually do is save myself the bother of typing the try-catch myself. ...
    (comp.lang.java.help)
  • Re: Strange exception...
    ... instantiation throws the exception) and stripped it down to its shell. ... I'm doing my development in Eclipse, ... It should have _nothing_ to do with a Jar file! ...
    (comp.lang.java.help)