Merge pull request #31 from max96at/feature_osx_polish
Improved java detection on OSX.
This commit is contained in:
commit
c85789e249
@ -177,10 +177,10 @@ QList<QString> JavaUtils::FindJavaPaths()
|
||||
#elif OSX
|
||||
QList<QString> JavaUtils::FindJavaPaths()
|
||||
{
|
||||
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
||||
|
||||
QList<QString> javas;
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user