[vtkusers] VTK newbie's question

Antoine Boivin a.boivin at m2m-ndt.com
Tue Jun 14 04:31:26 EDT 2005


copy the dll in the "bin" directories of your jre like
C:\j2sdk1.4.2_08\jre\bin

Next load the dll  with

System.loadLibrary("vtkCommonJava");
...

Good luck!
Antoine


----- Original Message ----- 
From: "Pak Hong" <hata_ph at yahoo.com>
To: <vtkusers at vtk.org>
Sent: Tuesday, June 14, 2005 4:39 AM
Subject: [vtkusers] VTK newbie's question


> Hi all,
>
> I am just starting to learn VTK and already had
> installed the VTK42 windows version. But when I run
> the vtk cone example prompt out error showing cannot
> load the dll file. Base on the instruction given after
> I install the vtk I need to copy some *java.dll file
> to my system folder but I try already still showing
> the message. May I know where is the correct location
> to copy the dll to?
>
> I am using NetBean 4.0 to write my program.
> wins XP
>
> init:
> deps-jar:
> compile:
> run:
> java.lang.UnsatisfiedLinkError: C:\Program
> Files\vtk42\bin\vtkCommonJava.dll: The specified
> procedure could not be found
>    at java.lang.ClassLoader$NativeLibrary.load(Native
> Method)
>    at
> java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
>    at
> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
>    at
> java.lang.Runtime.loadLibrary0(Runtime.java:788)
>    at java.lang.System.loadLibrary(System.java:834)
>    at Cone.<clinit>(Cone.java:17)
> Exception in thread "main"
> Java Result: 1
> BUILD SUCCESSFUL (total time: 7 seconds)
>
> Have a nice day. Bang.....bang!!!
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
> 





More information about the vtkusers mailing list