Skip to content

Commit 0c9178c

Browse files
committed
Added APPDIR to classpath for exported linux applications
1 parent a1a80f2 commit 0c9178c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,9 +1430,9 @@ protected boolean exportApplication(File destFolder,
14301430
exportClassPath.append(jarList[i]);
14311431
}
14321432
} else {
1433+
exportClassPath.append("$APPDIR");
14331434
for (int i = 0; i < jarList.length; i++) {
1434-
if (i != 0) exportClassPath.append(":");
1435-
exportClassPath.append("$APPDIR/lib/" + jarList[i]);
1435+
exportClassPath.append(":$APPDIR/lib/" + jarList[i]);
14361436
}
14371437
}
14381438

0 commit comments

Comments
 (0)