boolean () { String path = getAlternativeJrePath(); if (path != null) { Sdk sdk = ProjectJdkTable.getInstance().findJdk(path); if (sdk != null) { String homePath = sdk.getHomePath(); if (homePath != null) { return WslPath.isWslUncPath(homePath); } } return WslPath.isWslUncPath(path); } Module module = getConfigurationModule().getModule(); if (module != null) { Sdk sdk; try { sdk = JavaParameters.getValidJdkToRunModule(module, false); } catch (CantRunException e) { return false; } String sdkHomePath = sdk.getHomePath(); return sdkHomePath != null && WslPath.isWslUncPath(sdkHomePath); } return false; }