[vtkusers] install java and vtk

Phil Cook P.Cook at cs.ucl.ac.uk
Thu Aug 15 08:46:25 EDT 2002


> Message: 15
> Date: Wed, 14 Aug 2002 13:38:29 -0300
> From: Marcelo Costa Oliveira <marcelo at cci.fmrp.usp.br>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] install java and vtk
> 
> Hi users !!!!!
> 
> i'm new in Java and i'm using Linux
> 
> I followed this step by step post by Phil in our vtkuser list
> 
> http://public.kitware.com/pipermail/vtkusers/2002-March/010120.html
> 
> 
> 
> but i have this mistake
> 
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no 
> vtkCommonJava in java.library.path
>          at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1344)
>          at java.lang.Runtime.loadLibrary0(Runtime.java:744)
>          at java.lang.System.loadLibrary(System.java:815)
>          at Cone.<clinit>(Cone.java:17)
> 
> 
> The VTK 4.0 is working with C++.
> 
> 
> Tanks for advanced me.
> 
> Marcelo

Try adding the VTK/bin directory to the LD_LIBRARY_PATH environment
variable.

You can also set the java.library.path at runtime with

java -Djava.library.path=<value>


Phil




More information about the vtkusers mailing list