[vtkusers] Java sample won't run

Michael Wenglein michael.wenglein at wegroup.de
Sat Feb 22 16:16:14 EST 2003


Hi jeff,

I've added <vtkpath>\bin and <vtkpath>\lib\vtk directories both to the
windows PATH and to the classpath, but I get the exact same message... I
also think it has to be some path problem, but I really don't know what else
I could be missing!?

Do you have any idea?

Thanks!!
mike

 




On 22.02.2003 16:04 Uhr, "Jeff Lee" <jeff at cdnorthamerica.com> wrote:

> 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
>> 
>> 
>>  
>> 
> 

___________________________________________
Michael Wenglein
WE Group

kellerstr. 29              +49 89  360383 31 (office)
81667 muenchen      +49 172 9734282   (mobile)
germany                    +49 89  360383 60 (fax)
___________________________________________





More information about the vtkusers mailing list