I've been using Eclipse for a while and am growing more happy with it as I go along. However, recently I wanted to experiment with the Java 3D API. I can build a sample project from Sun and all Java files compile correctly both inside Eclipse and outside with Ant. I have the %JAVA_HOME%\bin directory in my path, which contains the Java 3D DLLs and the Java 3D jars are in the lib/ext directory as installed by Sun's own installer. The example starts and runs fine from an Ant task or from a batch file from the command line.
But inside Eclipse I get a java.lang.UnsatisfiedLinkError: no J3D in java.library.path exception. I'm using 3.1RC3 version of Eclipse and I've found no obvious way of setting the java.library.path to include these DLLs. I am sure that I am missing something very obvious but I have no idea what that is. Does anyone have a pointer for me on where to look to configure this? Obviously it can be done since Eclipse uses SWT DLLs itself.
Nevermind! I figured it out. It seems the installer did not update the JRE in the JDK directory but did update the JRE installed in the C:\Program Files\Java directory. Manually copying the DLLs and jars to the proper folders fixed the problem.