Skip to content

Commit 7da657c

Browse files
committed
Merge pull request processing#4005 from JakubValtar/embed-fix
Export - fix java not being embedded on 64bit
2 parents b6c4c13 + 8f1e82f commit 7da657c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/processing/mode/java/JavaBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ protected boolean exportApplication() throws IOException, SketchException {
803803
}
804804
// export the 64-bit version
805805
folder = new File(sketch.getFolder(), "application." + platformName + "64");
806-
if (!exportApplication(folder, platform, "64", embedJava && Platform.getNativeBits() == 64 && "x86".equals(Platform.getNativeArch()))) {
806+
if (!exportApplication(folder, platform, "64", embedJava && Platform.getNativeBits() == 64 && "amd64".equals(Platform.getNativeArch()))) {
807807
return false;
808808
}
809809
if (platform == PConstants.LINUX) {

0 commit comments

Comments
 (0)