Where are the Java options set

Where are the java options set, for example the option to enable assertions?
Normally assertion checking is off by default in java, but in Processing it is on by default.
At the moment I’m using a library that has some heavy assertion checking slowing things down and I would like to turn it off.

Run this to see that -ea is indeed enabled in processing by default:

assert false : "ouch";

1 Like

Were you able to resolve this?

If nobody on the forum knows, this might be a good question for https://github.com/processing/processing/issues, as it deals more with Processing / PDE internals that the core development team might now.


I did post a issue now.

1 Like

liked issue:


Changing run.options in preferences.txt should do the trick.
Faux documentation can be seen in defaults.txt.

1 Like