/** * Get the possible PYTHON locations. * * @return The candidates */ private static LinkedHashMap<String, String> getCandidates() { // Check if on Windows if (Platform.current() == Platform.WINDOWS) // If on Windows look for windows candidates return getWindowsCandidates(); // Check if on MacOS if (Platform.isDarwin()) // Get MacOS candidates return getDarwinCandidates(); // Else return Unix candidates return getUnixCandidates(); }