Processing can find the data folder in Windows 11 but not in Linux or Mac

Indeed, that was a very old example which I had forgotten to include an '=' character, which is required for the runSketch()'s switch/case block parser:

So this is the fixed line:
final String[] switches = { ARGS_SKETCH_FOLDER + '=' + sketchPath(), "" };

1 Like