diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-05 14:20:37 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-05 14:20:37 +0100 |
commit | 0249bd9eea450026c002481dadf945cb0268143f (patch) | |
tree | 263c9139d65cb6e00124ff92fb3330c34bc023c2 /api | |
parent | e1bd1c614519974d7bfc0efc8dcbfafa9418e2fa (diff) | |
download | MultiMC-0249bd9eea450026c002481dadf945cb0268143f.tar MultiMC-0249bd9eea450026c002481dadf945cb0268143f.tar.gz MultiMC-0249bd9eea450026c002481dadf945cb0268143f.tar.lz MultiMC-0249bd9eea450026c002481dadf945cb0268143f.tar.xz MultiMC-0249bd9eea450026c002481dadf945cb0268143f.zip |
NOISSUE default to javaw on Windows
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/java/JavaUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/logic/java/JavaUtils.cpp b/api/logic/java/JavaUtils.cpp index 88996e9f..79932eda 100644 --- a/api/logic/java/JavaUtils.cpp +++ b/api/logic/java/JavaUtils.cpp @@ -47,7 +47,11 @@ JavaInstallPtr JavaUtils::GetDefaultJava() javaVersion->id = "java"; javaVersion->arch = "unknown"; +#if defined(Q_OS_WIN32) + javaVersion->path = "javaw"; +#else javaVersion->path = "java"; +#endif return javaVersion; } |