boolean () { if (myBoot) return true; File javaPath = getVMExecutable(); if (SystemInfo.isUnix && !javaPath.canExecute()) { return false; } try { ProcessOutput output = ExecUtil.execAndGetOutput(new GeneralCommandLine(javaPath.getPath(), "-version")); return output.getExitCode() == 0; } catch (ExecutionException e) { Logger.getInstance(JdkBundle.class).debug(e); return false; } }