diff --git a/rtl/Launcher.java b/rtl/Launcher.java
index 220f671f5dde0d0efeb9f61f29dd4878be32ff29..5077fa884a1620022ba77acc0ca4f32b1d7467a2 100644 (file)
--- a/rtl/Launcher.java
+++ b/rtl/Launcher.java
-class Launcher {
+import java.lang.reflect.*;
+
+class Launcher
+{
public static void main(String[] args)
- throws ClassNotFoundException, InstantiationException, IllegalAccessException {
- Class.forName(args[0]).newInstance();;
+ throws
+ ClassNotFoundException,
+ InstantiationException,
+ IllegalAccessException,
+ NoSuchMethodException,
+ InvocationTargetException
+ {
+ Class<?> module = Class.forName(args[0]);
+ Method begin = module.getMethod("BEGIN");
+ begin.invoke(null);
}
}