NOISSUE default to javaw on Windows
This commit is contained in:
parent
e1bd1c6145
commit
0249bd9eea
@ -47,7 +47,11 @@ JavaInstallPtr JavaUtils::GetDefaultJava()
|
|||||||
|
|
||||||
javaVersion->id = "java";
|
javaVersion->id = "java";
|
||||||
javaVersion->arch = "unknown";
|
javaVersion->arch = "unknown";
|
||||||
|
#if defined(Q_OS_WIN32)
|
||||||
|
javaVersion->path = "javaw";
|
||||||
|
#else
|
||||||
javaVersion->path = "java";
|
javaVersion->path = "java";
|
||||||
|
#endif
|
||||||
|
|
||||||
return javaVersion;
|
return javaVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user