Lua is a C library, you can embed it in Java, but you will need to interact with the Java and Lua virtual machine with some C code.
The authors of LuaJava have already done this work - you'd better use this than write your own.
nos Jan 21 2018-10-21T00-01-21 22:57
source share