Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Jzy3D in Eclipse problem
Jzy3D in Eclipse problem [message #636750] Tue, 02 November 2010 16:28 Go to next message
Ravi Shankarappa is currently offline Ravi ShankarappaFriend
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 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2414
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
>
>
Re: Jzy3D in Eclipse problem [message #638250 is a reply to message #638079] Wed, 10 November 2010 16:23 Go to previous message
Ravi Shankarappa is currently offline Ravi ShankarappaFriend
Messages: 3
Registered: January 2010
Junior Member
Thanks Eric. I got the instructions on how to configure the DLL in Jzy3d forum. Perhaps I should have right away posted a message here to that effect. Sorry about that.

I have Jzy3d (version 0.8) installed and it looks quite promising.

-Ravi

[Updated on: Wed, 10 November 2010 16:28]

Report message to a moderator

Previous Topic:Re: Setting up Eclipse
Next Topic:Is it possible to hide file name extensions?
Goto Forum:
  


Current Time: Tue Dec 23 00:20:03 GMT 2014

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

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