diff options
Diffstat (limited to 'api/logic/java/JavaUtils.cpp')
-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; } |