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; }