java vtk错误:无法找到依赖库

时间:2018-05-25 09:18:14

标签: java vtk unsatisfiedlinkerror

我尝试运行我的vtk应用程序,但遇到了这个错误:

java.lang.UnsatisfiedLinkError: D:\myAppDir\vtk\lib\vtkChartsCoreJava.dll: Can't find dependent libraries 
        at java.lang.ClassLoader$NativeLibrary.load(Native Method) 
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) 
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857) 
        at java.lang.Runtime.loadLibrary0(Runtime.java:870) 
        at java.lang.System.loadLibrary(System.java:1122) 
        at vtk.vtkNativeLibrary.LoadLibrary(vtkNativeLibrary.java:240) 
        at vtk.vtkNativeLibrary.LoadAllNativeLibraries(vtkNativeLibrary.java:175)

应用程序运行:C:\ Program 文件\的Java \ jdk1.8.0_172 \ JRE \ BIN \ java.exe的" -Djava.library.pathr = myAppDir / vtk / lib ...

我无法添加" d:\ myAppDir \ VTK \ lib中\"进入PATH,因为他们会去 被打包到我的申请表中 我该如何解决? 谢谢大家!

0 个答案:

没有答案