cocolabs / pz-zdoc

ZomboidDoc is a Lua library compiler for Project Zomboid.
GNU General Public License v3.0
26 stars 10 forks source link

Error on run Compile Lua (Could not load stdlib.lbc) #47

Closed matshou closed 3 years ago

matshou commented 3 years ago
Exception in thread "main" io.yooksi.pz.zdoc.compile.CompilerException: Error occurred while reading exposed java
    at io.yooksi.pz.zdoc.compile.JavaCompiler.<init>(JavaCompiler.java:97)
    at io.yooksi.pz.zdoc.Main.main(Main.java:216)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at io.yooksi.pz.zdoc.compile.JavaCompiler.getExposedJava(JavaCompiler.java:254)
    at io.yooksi.pz.zdoc.compile.JavaCompiler.<init>(JavaCompiler.java:85)
    ... 1 more
Caused by: java.lang.RuntimeException: Could not load /stdlib.lbc
    at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
    at se.krka.kahlua.vm.KahluaUtil.setupLibrary(KahluaUtil.java:156)
    at se.krka.kahlua.j2se.J2SEPlatform.setupEnvironment(J2SEPlatform.java:72)
    at se.krka.kahlua.j2se.J2SEPlatform.newEnvironment(J2SEPlatform.java:51)