JavaHomeFinderBasic () { SystemInfoProvider systemInfoProvider = new SystemInfoProvider(); if (SystemInfo.isWindows) { return new JavaHomeFinderWindows(true, true, systemInfoProvider); } if (SystemInfo.isMac) { return new JavaHomeFinderMac(systemInfoProvider); } if (SystemInfo.isLinux) { return new JavaHomeFinderBasic(systemInfoProvider).checkSpecifiedPaths(DEFAULT_JAVA_LINUX_PATHS); } if (SystemInfo.isSolaris) { return new JavaHomeFinderBasic(systemInfoProvider).checkSpecifiedPaths("/usr/jdk"); } return new JavaHomeFinderBasic(systemInfoProvider); }