<div dir="ltr">Hi Henry,<div><br></div><div>As you noticed, you will need to unzip the <span style="font-size:13px"> vtk-6.1-natives-Linux-x86_64.</span><span style="font-size:13px">jar file into a directory and add that directory path to your LD_LIBRARY_PATH environment variable. Then the rest, should follow.</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Seb</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 9:48 AM, Henry Blanco <span dir="ltr"><<a href="mailto:henry.blanco@cbiomed.cu" target="_blank">henry.blanco@cbiomed.cu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys, I have set up and compiled VTK through cmake on a 64-bits<br>
Ubuntu 14.04, just to get VTK Java bindings, but I have failed to run a<br>
simple "Cone.java" example. Specifically, when I try to execute the<br>
statement:<br>
<br>
System.loadLibrary("vtkCommonJava");<br>
<br>
The compiler throws the following error:<br>
<br>
Exception in thread "main" java.lang.UnsatisfiedLinkError: no<br>
vtkCommonJava in java.library.path<br>
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)<br>
at java.lang.Runtime.loadLibrary0(Runtime.java:849)<br>
at java.lang.System.loadLibrary(System.java:1088)<br>
at Cone.<clinit>(Cone.java:17)<br>
<br>
--------------------------------------<br>
To specify what my problem is, please, read these comments:<br>
<br>
1- The VTK compilation process produced the following .jar files (both<br>
placed at /usr/local/ directory):<br>
vtk-6.1.jar<br>
vtk-6.1-natives-Linux-x86_64.jar<br>
<br>
2- The library files "vtkCommonJava.o" is not among those produced by<br>
the compilation process.<br>
3- The most similar library file to "vtkCommonJava" that I have found is<br>
"libvtkCommonCoreJava.o", packed into the jar file<br>
"vtk-6.1-natives-Linux-x86_64.jar". I have included this file into the<br>
"Java Build Path" of my Eclipse IDE, as well as the jar file<br>
"vtk-6.1.jar", but still the program fails to run.<br>
<br>
I will appreciate any suggestions on what is missing here to run the<br>
java example. Thanks in advance.<br>
<br>
Henry<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>