javaluabinariesluajava

LuaJava and Latest LuaBinaries


Does anyone know if LuaJava works out of the box with the latest LuaBinaries or just the 5.1.1 binaries? Thanks.

http://www.keplerproject.org/luajava/index.html


Solution

  • I have no problems using it with Lua 5.1.4:

    Output:

    C:\luajava>lua -v
    Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
    
    C:\luajava>java -cp "luajava-1.1.jar" org.keplerproject.luajava.Console
    API Lua Java - console mode.
    > example = 10
    > example = example + 20
    > print(example)
    30
    

    I am using Lua on Windows