I am having DLL problems with Java 3D on Win32. Compilation (javac) works fine, but I get a runtime error trying to run the simplest programs. I have included part of the stackdump below.
Assuming the DLLs are in the correct directories, you should not have to tell 'java' about J3D.dll or the OpenGL DLL.
Please begin by verifying your version of Java. Open a
shell window (DOS shell is fine), and type 'java -version'.
You should see something like this (note 1.2 part):
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
Assuming your version is ok, please be sure that your DLLs
are in the directories they were installed into by their
respective installation programs. On my Win95 system,
with Java 2/JDK 1.2 installed under C:jdk1.2, the
Again, the 'java' executable will find the Java 3D JAR files and J3D.dll because they are located in the default directories which it searches automatically. The Java 3D DLL, in turn, will use Win32-specific resources to find the OpenGL DLL, which is in the Win32 default location.