예제 #1
0
        public Process startIKVMShell(DataReceivedEventHandler dataReceivedCallBack)
        {
            var IKVMShell = new JavaShell(ikvm);

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

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