<div dir="ltr">Can you explain what you've done? <div>- setting of your env PATH?</div><div>- what command line did you ran?</div><div>- which dir contain what...</div><div><br></div><div>Just so we can understand what you are missing...</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 4:21 PM, Setegn, Manny <span dir="ltr"><<a href="mailto:setegn.2@buckeyemail.osu.edu" target="_blank">setegn.2@buckeyemail.osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is an unsatisfied link error where it cannot find all of the vtk dependent libraries. The exact error is as follows (over all VTK libraries, but this is just one example):<br>
<br>
java.lang.UnsatisfiedLinkError: C:\Program Files\VTK\bin\vtkRenderingOpenGLJava.<br>
dll: Can't find dependent libraries<br>
at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br>
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)<br>
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)<br>
at java.lang.Runtime.loadLibrary0(Runtime.java:870)<br>
at java.lang.System.loadLibrary(System.java:1122)<br>
at vtk.vtkNativeLibrary.LoadLibrary(vtkNativeLibrary.java:225)<br>
at vtk.vtkNativeLibrary.LoadAllNativeLibraries(vtkNativeLibrary.java:160<br>
)<br>
<br>
It does this for the following libraries:<br>
<br>
vtkAcceleratorsDaxJava not loaded<br>
vtkAcceleratorsPistonJava not loaded<br>
vtkChartsCoreJava not loaded<br>
vtkDomainsChemistryJava not loaded<br>
vtkDomainsChemistryOpenGL2Java not loaded<br>
vtkFiltersParallelFlowPathsJava not loaded<br>
vtkFiltersParallelGeometryJava not loaded<br>
vtkFiltersParallelMPIJava not loaded<br>
vtkFiltersParallelStatisticsJava not loaded<br>
vtkFiltersReebGraphJava not loaded<br>
vtkFiltersStatisticsGnuRJava not loaded<br>
vtkGeovisCoreJava not loaded<br>
vtkInfovisBoostGraphAlgorithmsJava not loaded<br>
vtkInfovisParallelJava not loaded<br>
vtkInteractionStyleJava not loaded<br>
vtkInteractionWidgetsJava not loaded<br>
vtkIOADIOSJava not loaded<br>
vtkIOExportJava not loaded<br>
vtkIOFFMPEGJava not loaded<br>
vtkIOGDALJava not loaded<br>
vtkIOGeoJSONJava not loaded<br>
vtkIOMPIImageJava not loaded<br>
vtkIOMPIParallelJava not loaded<br>
vtkIOMySQLJava not loaded<br>
vtkIOODBCJava not loaded<br>
vtkIOParallelExodusJava not loaded<br>
vtkIOParallelLSDynaJava not loaded<br>
vtkIOParallelNetCDFJava not loaded<br>
vtkIOPostgreSQLJava not loaded<br>
vtkIOVPICJava not loaded<br>
vtkIOXdmf2Java not loaded<br>
vtkIOXdmf3Java not loaded<br>
vtkParallelMPIJava not loaded<br>
vtkRenderingAnnotationJava not loaded<br>
vtkRenderingContext2DJava not loaded<br>
vtkRenderingContextOpenGLJava not loaded<br>
vtkRenderingContextOpenGL2Java not loaded<br>
vtkRenderingCoreJava not loaded<br>
vtkRenderingExternalJava not loaded<br>
vtkRenderingFreeTypeJava not loaded<br>
vtkRenderingFreeTypeOpenGLJava not loaded<br>
vtkRenderingFreeTypeOpenGL2Java not loaded<br>
vtkRenderingImageJava not loaded<br>
vtkRenderingLabelJava not loaded<br>
vtkRenderingLICJava not loaded<br>
vtkRenderingLODJava not loaded<br>
vtkRenderingMatplotlibJava not loaded<br>
vtkRenderingOpenGLJava not loaded<br>
vtkRenderingOpenGL2Java not loaded<br>
vtkRenderingParallelJava not loaded<br>
vtkRenderingParallelLICJava not loaded<br>
vtkRenderingQtJava not loaded<br>
vtkRenderingVolumeJava not loaded<br>
vtkRenderingVolumeAMRJava not loaded<br>
vtkRenderingVolumeOpenGLJava not loaded<br>
vtkRenderingVolumeOpenGL2Java not loaded<br>
vtkRenderingVolumeOpenGLNewJava not loaded<br>
vtkTestingRenderingJava not loaded<br>
vtkPythonInterpreterJava not loaded<br>
vtkViewsContext2DJava not loaded<br>
vtkViewsGeovisJava not loaded<br>
vtkViewsInfovisJava not loaded<br>
vtkWebCoreJava not loaded<br>
vtkWebGLExporterJava not loaded<br>
<br>
It is finding the folder with the dll, yet it is still not loading the dll's correctly. I have moved the vtk jar out of the jar I am trying to run and placed it, and the other jars, in a separate folder.<br>
<br>
________________________________________<br>
From: vtkusers <<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>> on behalf of vincentrivola <<a href="mailto:vincentrivola@hotmail.com">vincentrivola@hotmail.com</a>><br>
Sent: Monday, February 8, 2016 12:57 AM<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] VTK 6.2 Java Standalone Application<br>
<div class="HOEnZb"><div class="h5"><br>
If you are trying to use the jar you created on a different machine, indeed,<br>
you should make sure that all the Visual Studio redistruables has been<br>
installed on this machine.<br>
<br>
If it's not working on your own machine (where you made the VTK<br>
compilation), it is often a problem of finding the java dll, like jawt.dll<br>
for instance.<br>
<br>
In any case you can use dependency walker in order to find out which exact<br>
dll is missing.<br>
<br>
good luck<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-6-2-Java-Standalone-Application-tp5736419p5736423.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-6-2-Java-Standalone-Application-tp5736419p5736423.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>