Friday, February 25, 2011

Technical Runnig Shirts

Using Java3D with Eclipse

It outside the normal framework of the blog, but I spent too much time looking like do not write it down somewhere.

Tonight, I tried to use Eclipse with Java3D. After all have installed, I launched a tutorial I found on the net and all I got was " java.lang.UnsatisfiedLinkError: no-ogl in java.library.path j3dcore "in bright red bold.

depth research on Google I learned that some DLLs were not included and so they would not, I could not continue. Unfortunately, no idea as to include them.

Finally, I found someone who had the same problem and quickly explained what to do to get rid of this error message.

With a little trial and error, here's what I found:
  1. Right-click the project and choose Properties ;
  2. In Java Build Path is chosen Libraries and clicking on Add Library ... ;
  3. We choose User Library , we do Next and clicking on User Libraries ... ;
  4. We created a new, click on Add JARs ... and is selected the 3 *. jar that was installed with Java3D;
  5. You click on OK and Finish and get back to the Java Build Path ;
  6. You click on most of the new library, it highlights Native rental library and clicking on Edit ... ;
  7. With External Folder ... is chosen JAVA3D_HOME {} / bin that contains all the DLLs and voila!

I hope this helps someone and I've lost anyone with the English version of eclipse.

Thanks Phil filsa.net for making me the right path.

0 comments:

Post a Comment