Jzy3D in Eclipse problem [message #636750] |
Tue, 02 November 2010 16:28 |
Ravi Shankarappa Messages: 3 Registered: January 2010 |
Junior Member |
|
|
Hello,
I started to use Eclipse RCP only recently and admittedly quite wet behind the ears. I am in dire need to start coding in Java using Jzy3D and so I downloaded the following files from http://code.google.com/p/jzy3d/downloads/list.
org.jzy3d-0.8.jar
org.jzy3d-dependencies.zip
I also downloaded the supposedly "An Eclipse project ready to run Jzy3d 0.8 demos on Windows" file ", jzy3d-0.8-demos.zip.
I unpacked the zip file in a directory. Started the Eclipse, imported files and tried to run one of the projects. To do that I opened the file that contained Main function and clicked on green arrow button in Eclipse. I got an error as follows:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path
In the left side panel of Eclipse, I see a tree view and under lib, I see jogl.jar listed. So I assumed, since it knows about it, it should be in the path.
Then I looked at Preferences -> Java -> Classpath variables, and the library is not listed there. Is this the reason? So I added jogl.jar here and I see it listed. Still the program complains same as before.
Obviously, I am doing something wrong. Could someone help me run demos from jzy3d-0.8-demos.zip in Eclipse?
I appreciate your help in advance.
-Ravi
|
|
|
Re: Jzy3D in Eclipse problem [message #638079 is a reply to message #636750] |
Tue, 09 November 2010 20:49 |
Eric Rizzo Messages: 3070 Registered: July 2009 |
Senior Member |
|
|
On 11/2/10 12:28 PM, Ravi Shankarappa wrote:
> Hello,
>
> I started to use Eclipse RCP only recently and admittedly quite wet
> behind the ears. I am in dire need to start coding in Java using Jzy3D
> and so I downloaded the following files from
> http://code.google.com/p/jzy3d/downloads/list
>
> org.jzy3d-0.8.jar org.jzy3d-dependencies.zip
> I also downloaded the supposedly "An Eclipse project ready to run Jzy3d
> 0.8 demos on Windows" file ", jzy3d-0.8-demos.zip.
>
> I unpacked the zip file in a directory. Started the Eclipse, imported
> files and tried to run one of the projects. To do that I opened the file
> that contained Main function and clicked on green arrow button in
> Eclipse. I got an error as follows:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in
> java.library.path
First, I'd suggest seeing if the Google project site for Jzy3D has a
user forum where you can ask.
As for the java.library.path error, it's indicating that there is some
native library (DLL) that is expected to be on your system binary path
in order for jogl to work.
Specifically, I found this page in about 10 seconds via Google:
http://www.cs.gmu.edu/~jchen/graphics/jogl/notes/setup2007.h tml
Eric
>
> In the left side panel of Eclipse, I see a tree view and under lib, I
> see jogl.jar listed. So I assumed, since it knows about it, it should be
> in the path.
> Then I looked at Preferences -> Java -> Classpath variables, and the
> library is not listed there. Is this the reason? So I added jogl.jar
> here and I see it listed. Still the program complains same as before.
>
> Obviously, I am doing something wrong. Could someone help me run demos
> from jzy3d-0.8-demos.zip in Eclipse?
>
> I appreciate your help in advance.
>
> -Ravi
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.08409 seconds