tags:

views:

98

answers:

3

I have a gui application written in java that requires the use of the lua scripting language. I looked at LuaJava but it seems to be giving me problems. Can you recommend a good lua interpreter for java, preferably a pure java implementation.

A: 

The only other Lua binding for Java I know is JNLua (Java Native Lua). I have no experience with it, so I can't tell you anything about stability.

What kind of problems are you having with LuaJava?

schot
Three that I have noticed so far. Program just exits when lua goes into panic mode. When I try to call a function, the program does not actually call the lua function until the application quits. Bad documentation.
Dave
+1  A: 

Try Kahlua I've heard plenty of good things about it.

daurnimator
+1  A: 

LuaJ is a good option however it is very poorly documented. Nevertheless I got it to work and hooked up additional libraries to get the functionality I was looking for.

Dave