Where is the Java Module?
GoogleCodeExporter opened this issue · comments
if I run this in the lua-commandline:
System = java.require("java.lang.System")
I get this error:
stdin:1: attempt to index global `java' (a nil value)
stack traceback:
stdin:1: in main chunk
[C]: ?
Where is the Java Module?
greeting pitti
Original issue reported on code.google.com by p1tt1pl4...@gmail.com
on 13 Dec 2013 at 1:43
Did you load the Java module by invoking LuaState.openLib(Library.JAVA) or
LuaState.openLibs() on the LuaState object?
Please note that there is a general discussion list for usage questions:
https://groups.google.com/forum/#!forum/jnlua-discuss
Original comment by an...@naef.com
on 15 Dec 2013 at 6:52