<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
You may want to set the CLASSPATH environment variable to $VTK_HOME/java
as well as the current directory.&nbsp; Something like "setenv CLASSPATH
/home/me/vtk/java:."&nbsp; libvtkJava.so is in that directory, and the
package is defined with respect to that directory.&nbsp; Hope that helps,
<br>-Jeff
<p>Karin Faulhaber wrote:
<blockquote TYPE=CITE>Hi again,
<p>thanks a lot, I could solve my UnsatisfiedLinkError/OSMesaMakeCurrent
<br>problem by configuring with --with-opengl instead of --with-mesa -
how
<br>you suggested.
<br>But there doesn't seem to be an end to it. The next one (and this seems
<br>to be a common one):
<p>Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkJava
in
<br>java.library.path
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader.loadLibrary(ClassLoader.java,
Compiled
<br>Code)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Runtime.loadLibrary0(Runtime.java,
Compiled Code)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.System.loadLibrary(System.java,
Compiled Code)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at vtk.vtkPanel.&lt;clinit>(vtkPanel.java:23)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sphere.&lt;init>(sphere.java,
Compiled Code)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sphere.main(sphere.java,
Compiled Code)
<p>My LD_LIBRARY_PATH is on the directory where I put links to all the
<br>.so-files (just how it is suggested in the linux-howto). But on the
<br>other hand, when I look into the file "vtkPanel.java" at line 23 it
says
<p>static { System.loadLibrary("vtkJava"); }
<p>and - there isn't any libvtkJava.so, only
<br>libVTKCommonJava.so
<br>libVTKContribJava.so
<br>libVTKGraphicsJava.so
<br>libVTKImagingJava.so
<p>Can anyone think of a solution?
<br>Thanks a lot!!!
<p>Karin
<p>_______________________________________________
<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: &lt;<a href="http://public.kitware.com/cgi-bin/vtkfaq">http://public.kitware.com/cgi-bin/vtkfaq</a>>
<br>Follow this link to subscribe/unsubscribe:
<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a></blockquote>

<pre>--&nbsp;
J.A. Lee
Software Engineer
Computational Dynamics North America
3 Schoolhouse Lane
Etna NH, 03750
ph: 603-643-9993 x109, fax: 603-643-9994</pre>
&nbsp;</html>