Skip to content

Commit 2e833f6

Browse files
committed
Merge pull request processing#3083 from kfeuz/export_classpath
Allow exported linux applications to be launched from a different folder
2 parents a1a80f2 + 0c9178c commit 2e833f6

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)