[vtkusers] [vtk-developers] Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkCommonJava in java.library.path

Robert Häckl robert_haeckl at fear-gfx.de
Wed Feb 19 12:46:01 EST 2014


Hi there,

I guess, the problem is, I do not know how to load the vtkNativeLibrary.
In my project in IntelliJ IDEA I entered following code snippet:
if (!vtkNativeLibrary.LoadAllNativeLibraries()) {
       for (lib <- vtkNativeLibrary.values()) {
         if (!lib.IsLoaded()) {
           System.out.println(lib.GetLibraryName() + " not loaded");
         }
       }
     }
     vtkNativeLibrary.DisableOutputWindow(null);

And then i got this printings, which confirm, that they are truly not 
loaded:
vtkCommonJava not loaded
vtkFilteringJava not loaded
vtkGeovisJava not loaded
vtkGraphicsJava not loaded
vtkHybridJava not loaded
vtkImagingJava not loaded
vtkInfovisJava not loaded
vtkIOJava not loaded
vtkRenderingJava not loaded
vtkViewsJava not loaded
vtkVolumeRenderingJava not loaded
vtkWidgetsJava not loaded
vtkChartsJava not loaded

What do I have to do, to load the missing native VTK libraries so I can 
work further in my development environment?

Kind regards

Robert


More information about the vtkusers mailing list