Merge pull request #3083 from kfeuz/export_classpath

Allow exported linux applications to be launched from a different folder
This commit is contained in:
Ben Fry
2015-02-04 08:26:25 -05:00

View File

@@ -1430,9 +1430,9 @@ public class JavaBuild {
exportClassPath.append(jarList[i]);
}
} else {
exportClassPath.append("$APPDIR");
for (int i = 0; i < jarList.length; i++) {
if (i != 0) exportClassPath.append(":");
exportClassPath.append("$APPDIR/lib/" + jarList[i]);
exportClassPath.append(":$APPDIR/lib/" + jarList[i]);
}
}