From 1638f21c5d24aa29f5f3eaafa73043575d8d73d9 Mon Sep 17 00:00:00 2001 From: "Vladimir.Orlov" Date: Mon, 24 Jun 2019 17:16:40 +0300 Subject: [PATCH] winlauncher: updated PATH modification order: jbr folders and then current PATH GitOrigin-RevId: 405c7644e51a86fc0898d0a2c563075214f364e5 --- native/WinLauncher/WinLauncher/WinLauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/WinLauncher/WinLauncher/WinLauncher.cpp b/native/WinLauncher/WinLauncher/WinLauncher.cpp index 547e96cc5a72..2800fd14e909 100644 --- a/native/WinLauncher/WinLauncher/WinLauncher.cpp +++ b/native/WinLauncher/WinLauncher/WinLauncher.cpp @@ -586,7 +586,7 @@ bool LoadVMOptions() if (pathSizeWithoutTerminator) { - std::string path = std::string(pathEnvVar.data()) + ";" + binDirs; + std::string path = binDirs + ";" + std::string(pathEnvVar.data()); SetEnvironmentVariableA("PATH", path.c_str()); } vmOptionLines.push_back(std::string("-Djava.library.path=") + binDirs);