public static Process startIKVMShell(DataReceivedEventHandler dataReceivedCallBack)
        {
            var IKVMShell = new JavaShell();

            IKVMShell.startJavaShell(dataReceivedCallBack, "");
            return(IKVMShell.IKVMProcess);
        }
Example #2
0
 // if we pass a callback for logging we need to start a IKVM shell
 public static Process executeJavaFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack)
 {            
     var IKVMShell = new JavaShell();
     IKVMShell.compileJavaFile(fileToExecute);
     IKVMShell.executeClassFile(dataReceivedCallBack);
     //IKVMShell.startJavaShell(dataReceivedCallBack, fileToExecute);
     return IKVMShell.IKVMProcess;            
 }
        // if we pass a callback for logging we need to start a IKVM shell
        public static Process executeJavaFile(string fileToExecute, DataReceivedEventHandler dataReceivedCallBack)
        {
            var IKVMShell = new JavaShell();

            IKVMShell.compileJavaFile(fileToExecute);
            IKVMShell.executeClassFile(dataReceivedCallBack);
            //IKVMShell.startJavaShell(dataReceivedCallBack, fileToExecute);
            return(IKVMShell.IKVMProcess);
        }
Example #4
0
 public static Process startIKVMShell(DataReceivedEventHandler dataReceivedCallBack)
 {
     var IKVMShell = new JavaShell();
     IKVMShell.startJavaShell(dataReceivedCallBack,"");
     return IKVMShell.IKVMProcess;            
 }