mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] more exact VM executable name on Windows (IDEA-188247)
This commit is contained in:
@@ -47,7 +47,7 @@ public class JavaSdkImpl extends JavaSdk {
|
||||
|
||||
public static final DataKey<Boolean> KEY = DataKey.create("JavaSdk");
|
||||
|
||||
private static final String VM_EXE_NAME = "java"; // do not use JavaW.exe for Windows because of issues with encoding
|
||||
private static final String VM_EXE_NAME = SystemInfo.isWindows ? "java.exe" : "java"; // do not use JavaW.exe because of issues with encoding
|
||||
|
||||
private final Map<String, String> myCachedSdkHomeToVersionString = new ConcurrentHashMap<>();
|
||||
private final Map<String, JavaVersion> myCachedVersionStringToJdkVersion = new ConcurrentHashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user