Yakup,
Try running the java VM with the following flag:
-Djava.library.path="C:/Program Files/Java Soft/JRE/1.3.1_02/bin"
That should allow the VM to find and link with the Java3D DLL.
Dave
dhomiak@xxxxxxxxxxxx
> -----Original Message-----
> From: Yakup Bayram [SMTP:ybayram@xxxxxxxx]
> Sent: Friday, December 28, 2001 5:47 PM
> To: visad-list@xxxxxxxxxxxxx
> Subject: Unable to run Tutorial Examples
>
> Hello,
> I am trying to run Visad tutorial examples but I cannot run the 3D examples.
> I have no problem with 2D examples. I have installes Java 3D APi form sun web
> page and When I run example P4_05.java I have following message and I checked
> the given J3D.dll file and it is available in that folder. I urgently need
> your help.
> Thank you.
> Yakup Bayram.
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
> Files\Java
> Soft\JRE\1.3.1_02\bin\J3D.dll: One of the library files needed to run this
> appli
> cation cannot be found
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at javax.media.j3d.MasterControl$17.run(MasterControl.java:787)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:784)
> at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:229)
> at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3326)
> at visad.java3d.DisplayPanelJ3D.<init>(DisplayPanelJ3D.java:55)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:297)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:278)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:191)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:139)
> at P4_05.<init>(P4_05.java:163)
> at P4_05.main(P4_05.java:244)
>
>