Skip to content

Commit 8f1e82f

Browse files
committed
Export - fix java not being embedded on 64bit
1 parent a349190 commit 8f1e82f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)