trouble loading vtk java library

Joey Mukherjee joey at rolaren.space.swri.edu
Wed Mar 1 12:43:14 EST 2000


> I am having trouble loading the vtkJava library in a java program. I
> configured with --whith-java, and compiled vtk without problems on solaris
> 7.  The classpath and library path variables have been set properly,
> compilation goes fine, but at run-time, java does not seem to find the
> library (<<Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> vtkJava in java.library.path>>), although a 
> <<
> System.out.println(System.getProperty("java.library.path"));
> >>
> tells me the path where the library is located actually is in the library
> path.

We experience the same problem here and I've never been able to fix it.

Right now, I am trying to compile vtk3.1 with java and it complains that 
vtkGeneralTransform isn't available since it hasn't gotten to that point yet.  
If I do a make -k a few times, it will eventually work.

However, do you find that it redoes the java code everytime you type in make?

Joey

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list