[vtkusers] Java sample won't run

Jeff Lee jeff at cdnorthamerica.com
Sat Feb 22 10:04:09 EST 2003


you also need the vtk libs in your %path%
-Jeff

Michael Wenglein wrote:

>I'm trying to run the java samples on Windows (binary install 4.0) but I
>always get the following error:
>
>____________________________________________________________________________
>C:\dev\j2sdk1.4.1_01\bin\javaw -classpath
>"C:\Data\cvsroot\DocuMed_java\vtktest\classes;C:\dev\vtk40\bin\vtk.jar;C:\de
>v\j2sdk1.4.1_01\demo\jfc\Java2D\Java2Demo.jar;C:\dev\j2sdk1.4.1_01\demo\plug
>in\jfc\Java2D\Java2Demo.jar;C:\dev\j2sdk1.4.1_01\jre\lib\charsets.jar;C:\dev
>\j2sdk1.4.1_01\jre\lib\ext\dnsns.jar;C:\dev\j2sdk1.4.1_01\jre\lib\ext\ldapse
>c.jar;C:\dev\j2sdk1.4.1_01\jre\lib\ext\localedata.jar;C:\dev\j2sdk1.4.1_01\j
>re\lib\ext\sunjce_provider.jar;C:\dev\j2sdk1.4.1_01\jre\lib\im\indicim.jar;C
>:\dev\j2sdk1.4.1_01\jre\lib\jaws.jar;C:\dev\j2sdk1.4.1_01\jre\lib\jce.jar;C:
>\dev\j2sdk1.4.1_01\jre\lib\jsse.jar;C:\dev\j2sdk1.4.1_01\jre\lib\rt.jar;C:\d
>ev\j2sdk1.4.1_01\jre\lib\sunrsasign.jar;C:\dev\j2sdk1.4.1_01\lib\dt.jar;C:\d
>ev\j2sdk1.4.1_01\lib\htmlconverter.jar;C:\dev\j2sdk1.4.1_01\lib\tools.jar"
> SimpleVTK 
>java.lang.UnsatisfiedLinkError: AddActor_3
>
>    at vtk.vtkRenderer.AddActor_3(Native Method)
>
>    at vtk.vtkRenderer.AddActor(vtkRenderer.java:24)
>
>    at SimpleVTK.<init>(SimpleVTK.java:28)
>
>    at SimpleVTK.main(SimpleVTK.java:49)
>
>Exception in thread "main"
>____________________________________________________________________________
>
>
>Have I missed anything?
>
>Thanks!!
>mike
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>  
>




More information about the vtkusers mailing list