diff --git a/bin/WinLauncher/WinLauncher.exe b/bin/WinLauncher/WinLauncher.exe index da2c52eb325e..4f3e0304c290 100755 Binary files a/bin/WinLauncher/WinLauncher.exe and b/bin/WinLauncher/WinLauncher.exe differ diff --git a/bin/WinLauncher/WinLauncher64.exe b/bin/WinLauncher/WinLauncher64.exe index 9bb4d66ad10c..a1d1e8472e2b 100755 Binary files a/bin/WinLauncher/WinLauncher64.exe and b/bin/WinLauncher/WinLauncher64.exe differ diff --git a/native/WinLauncher/WinLauncher/WinLauncher.cpp b/native/WinLauncher/WinLauncher/WinLauncher.cpp index 250e3c432587..ab8fac30a558 100644 --- a/native/WinLauncher/WinLauncher/WinLauncher.cpp +++ b/native/WinLauncher/WinLauncher/WinLauncher.cpp @@ -575,12 +575,6 @@ bool LoadVMOptions() if (!AddClassPathOptions(vmOptionLines)) return false; std::string dllName(jvmPath); std::string binDirs = dllName + "\\bin;" + dllName + "\\bin\\server"; - char pathEnvVarName[_MAX_PATH]; - if (GetEnvironmentVariableA("PATH", pathEnvVarName, _MAX_PATH -1 )) - { - binDirs = binDirs + ";" + pathEnvVarName; - SetEnvironmentVariableA("PATH", binDirs.c_str()); - } vmOptionLines.push_back(std::string("-Djava.library.path=") + binDirs); AddPredefinedVMOptions(vmOptionLines);