我有一个超级简单的程序。每当我尝试在 Eclipse 中运行它时,我都会收到此错误:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no luajava-1.1 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.keplerproject.luajava.LuaState.<clinit>(LuaState.java:92)
at org.keplerproject.luajava.LuaStateFactory.newLuaState(LuaStateFactory.java:59)
at com.gmail.developnickmaster21.LuaJavaTesting.ClassThatUsesLuaJava.main(ClassThatUsesLuaJava.java:9)
我不太确定从哪里开始......我仔细检查了 LuaJava jar 是否在我所说的位置,但它仍然无法工作。有什么帮助吗?