Improved java detection on OSX.
This commit is contained in:
parent
aed3ddda29
commit
cdebeff179
@ -181,6 +181,8 @@ QList<QString> JavaUtils::FindJavaPaths()
|
|||||||
|
|
||||||
QList<QString> javas;
|
QList<QString> javas;
|
||||||
javas.append(this->GetDefaultJava()->path);
|
javas.append(this->GetDefaultJava()->path);
|
||||||
|
javas.append("/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java");
|
||||||
|
javas.append("/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java");
|
||||||
|
|
||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user