Merge pull request #4005 from JakubValtar/embed-fix

Export - fix java not being embedded on 64bit
This commit is contained in:
Jakub Valtar
2015-10-20 17:37:22 +02:00

View File

@@ -803,7 +803,7 @@ public class JavaBuild {
}
// export the 64-bit version
folder = new File(sketch.getFolder(), "application." + platformName + "64");
if (!exportApplication(folder, platform, "64", embedJava && Platform.getNativeBits() == 64 && "x86".equals(Platform.getNativeArch()))) {
if (!exportApplication(folder, platform, "64", embedJava && Platform.getNativeBits() == 64 && "amd64".equals(Platform.getNativeArch()))) {
return false;
}
if (platform == PConstants.LINUX) {