nextedvm typo
[nestedvm.git] / src / org / ibex / nestedvm / RuntimeCompiler.java
index 3252242..2d0a182 100644 (file)
@@ -19,7 +19,7 @@ public class RuntimeCompiler {
             }
             id = nextID++;
         }
-        String className = "nextedvm.runtimecompiled_" + id;
+        String className = "nestedvm.runtimecompiled_" + id;
         System.err.println("RuntimeCompiler: Building " + className);
         String options = "nosupportcall";
         if(extraoptions != null) options += "," + extraoptions;
@@ -50,7 +50,7 @@ public class RuntimeCompiler {
             System.err.println("Usage: RuntimeCompiler mipsbinary");
             System.exit(1);
         }
-        UnixRuntime r = (UnixRuntime) compile(new Seekable.File(args[0])).newInstance();
+        UnixRuntime r = (UnixRuntime) compile(new Seekable.File(args[0]),"unixruntime").newInstance();
         System.err.println("Instansiated: "+ r);
         System.exit(UnixRuntime.runAndExec(r,args));
     }