java.lang.UnsatisfiedLinkError: getNativeTimerValue in java3d-1_4_0-windows-i586

I’m cross-posting to here because maybe someone else has also run into this.

I just installed java3d-1_4_0-windows-i586-1.exe on a new installation of Windows XP SP2 and I’ve started receiving this error. I tried re-installing, but no change.

I can reproduce the problem at will hitting my own ancient tutorials such as http://www.duling.us/kevin/Java3D/TriColor/. I’m in the process of changing domains and updating these pages.

Double-checking versions, my troubleshooting page reports the versions I expect to see:

Java version: 1.5.0_06
Java vendor : Sun Microsystems Inc.
Found java3d!
Java3D: Java 3D Core Runtime Environment
Java3D Spec: 1.4
Java3D Vendor: Sun Microsystems, Inc.

This same Java3D installer was run on a different machine running the same patch level of Windows XP and Java and I’m not having the issue on the second machine. There are many differences between the boxes (laptop vs. desktop, Gateway vs. Dell, ATI 9660 vs ATI Rage 128). The desktop works, the laptop does not.

Full stacktrace is:

java.lang.UnsatisfiedLinkError: getNativeTimerValue
at javax.media.j3d.MasterControl.getNativeTimerValue(Native Method)
at javax.media.j3d.J3dClock.getHiResTimerValue(J3dClock.java:37)
at javax.media.j3d.J3dClock.(J3dClock.java:60)
at javax.media.j3d.MasterControl.(MasterControl.java:525)
at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:253)
at Java3DVersionApplet.init(Java3DVersionApplet.java:29)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Any ideas, anyone?

kcr solved my problem for me. I’m just braindead. I must have have not only installed an older version of java3d 1.4 from a local cache, but also forgot I’d done it in the last week. Sometimes, I’m my own worst enemy.