Fix #873: On 64 bit x86 machines, os.arch may be x64 or x86-64
This commit is contained in:
@@ -73,9 +73,10 @@ public class SelfDependencyPatcher {
|
|||||||
|
|
||||||
// We can only self-patch JavaFX on x86 platform.
|
// We can only self-patch JavaFX on x86 platform.
|
||||||
// For ARM support, user's manual patch is required.
|
// For ARM support, user's manual patch is required.
|
||||||
switch (System.getProperty("os.arch")) {
|
switch (System.getProperty("os.arch", "unknown").toLowerCase()) {
|
||||||
case "amd64":
|
case "amd64":
|
||||||
case "x86":
|
case "x64":
|
||||||
|
case "x86-64":
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new IncompatibleVersionException();
|
throw new IncompatibleVersionException();
|
||||||
|
|||||||
Reference in New Issue
Block a user