public static bool checkIKVMInstallation(this API_IKVM ikvm) { Files.checkIfDirectoryExistsAndCreateIfNot(ikvm.jarStubsCacheDir); if (ikvm.checkIfJavaPathIsCorrectlySet()) { if (Directory.Exists(ikvm._IKVMRuntimeDir) && File.Exists(ikvm.IKVMCompilerExecutable) && File.Exists(ikvm.IKVMStubExecutable)) { return(true); } } return(false); }