我正在尝试编写一个简单的Java程序,它通过JNI调用一个C函数来打印"Hello World“。System.loadLibrary("Hello"); // Throws UnsatisfiedLinkError } /* DO NOT EDIT THIS FILE - it is machine generated */
#include <
eclipse.buildId=I20110613-1736java.vendor=Oracle CorporationCommand-line arguments: -os linux -ws gtk -arch x86_64
no swt-gtk in java.library.path
Can't load
我有一个静态链接的库,我想用它来使用带有预Java 8版本的JNI层。根据我对的阅读,这似乎是可能的。-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here target/vw_jni.a: In function `data_start': (/x86_64-linux-gnu/crt