hello everyone !!
i am creating a LuaJ library , and i need to get a B4J class module id to register class to Functions Table on lua ...
this is a Java Function to register new class to lua functions table >
when i try compile i get this error >

i am creating a LuaJ library , and i need to get a B4J class module id to register class to Functions Table on lua ...
this is a Java Function to register new class to lua functions table >
Java:
public void RegisterClassToLua(Class c) {
try {
// on this line i need get B4J class to register class on function tables
LuaValue instance = CoerceJavaToLua.coerce(c.newInstance());
globals.set("obj", instance);
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// Use the convenience function on Globals to load a chunk.
//LuaValue chunk = globals.load(script);
}
when i try compile i get this error >