How can I embed Lua in Java?

前端 未结 4 697
无人及你
无人及你 2020-11-29 01:34

Is LuaJava a must for this? Or can I embed Lua into Java without it?

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 01:51

    LuaJ is easy to embed in Java. I did have to change a few lines of their source to get it to work how I expected (it didn't require the IO library automatically).

    http://sourceforge.net/projects/luaj/

提交回复
热议问题