i'm sorry i am pretty new to unionplatform. I followed the java module example and now im trying to load it through javascript.
But the log keeps yelling: Could not find a Module class for name [net.user1.union.....
in netbeans i compiled my java class:
- Code: Select all
package net.user1.union.game101.roommodule;
import net.user1.union.api.Module;
import net.user1.union.core.context.ModuleContext;
import net.user1.union.core.event.RoomEvent;
public class Game101 implements Module {
}
the game101.jar i put in my modules directory and load it through javascript:
- Code: Select all
var modules = new net.user1.orbiter.RoomModules();
modules.addModule("net.user1.union.game101.roommodule.Game101", net.user1.orbiter.ModuleType.CLASS);
what am i doing wrong here? The union.jar is in my sources lib, i copied the game101.jar into the modules directory.
Please help
i also tried to load a .java file but i get the same error, i also followed the structure from the examples directory