Export - fix java not being embedded on 64bit

This commit is contained in:
Jakub Valtar
2015-10-15 23:50:24 +02:00
parent cbed7139c2
commit 2b4a6ba359

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) {