Hoi!
This is a very basic question, but I can’t figure it out.
I’m trying to get JAVA3D work under Eclipse on an SOLARIS platform. Eclipse was no problem, got an up-to-date JRE, JAVA3D and OpenGL.
Problem1: Counldn’t find J3D.dll anywhere, so I downloaded one from the internet.
Problem2: When starting HelloUniverse, Eclipse gives me this “no j3d in java.library path…” error.
I think j3d.dll is in nearly every directory of my jre and I had no success when trying to set a parameter -Djava.library.path=/dir/ in Preferences/Java/InstallesJREs.
What can I do? Which property in Eclipse is to set?
Thanks,
Chris
I may be wrong here, but a surely on solaris you want a .so not a dll, it should be called something like libj3d.so.
HTH
Endolf
Ok, found one named so, but what am I to do with it?
How can I plug it into normal Java, or into Eclipse?
[quote]I may be wrong here, but a surely on solaris you want a .so not a dll, it should be called something like libj3d.so.
[/quote]
You are not wrong.
cweila, you should try to get hold of the Solaris version of Java3D! It seems you are talking about the Windows thing.
I got the Solaris-version from j3d.org. I’m just a Solaris newbie, but I tried the .so but failed to get it work.
I set LD_LIBRARY_PATH to the containing directory, the .so is also in the jre’s dirs, what to do else?
This should do the job.
Maybe dump java.library.path in order to really make sure the .so should be found.
If this is ok, I’d check wether the .so you have really is a valid Solaris lib (and accidentially a Linux one).
Nothing special about using Eclipse there I think.
I just had an complete deinstall of everything javalike. I installed it again and it works, heavens know why exactly!
Nevertheless, a big THANKS for your time and help