Fix discovery of OS X Java install
This commit is contained in:
@@ -48,7 +48,7 @@ class ImageHelper {
|
||||
|
||||
}
|
||||
|
||||
if (FileSystem.exists ("/Library/Java/JavaVirtualMachines")) {
|
||||
if (!found && FileSystem.exists ("/Library/Java/JavaVirtualMachines")) {
|
||||
|
||||
found = (FileSystem.readDirectory ("/Library/Java/JavaVirtualMachines").length > 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user