From 0249bd9eea450026c002481dadf945cb0268143f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 5 Jan 2017 14:20:37 +0100 Subject: [PATCH] NOISSUE default to javaw on Windows --- api/logic/java/JavaUtils.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }