你如何在eclipse上安装带有dll的jar?

时间:2014-04-18 11:20:47

标签: java eclipse

我想尝试一下:https://gist.github.com/brigand/1526712 所以我得到了原生的调用库:http://johannburkard.de/software/nativecall/

正如你所看到的那样:

Download NativeCall.
Extract nativecall-0.4.1.jar and nativeloader-200505172341.jar.
Make sure both JAR files are in your classpath.
Extract the native library (NativeCall.dll).

所以我做了除第4步以外的所有事情,提取dll是什么意思?

运行程序时我得到:

Hello World

Something went wrong...
java.lang.UnsatisfiedLinkError: NativeCall

所以我想我需要"提取"这个dll。

感谢。

windows pillressional 7 64。 Eclipse kepler。

1 个答案:

答案 0 :(得分:0)

尝试参考此链接。

http://www.jdotsoft.com/JarClassLoader.php

希望它对你有所帮助。