Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are the java options set? #5755

Closed
clankill3r opened this issue Jan 15, 2019 · 3 comments
Closed

Where are the java options set? #5755

clankill3r opened this issue Jan 15, 2019 · 3 comments

Comments

@clankill3r
Copy link

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";
@jeremydouglass
Copy link
Contributor

@benfry
Copy link
Contributor

benfry commented Jan 16, 2019

Changing run.options in preferences.txt should do the trick.

Faux documentation can be seen in defaults.txt.

@benfry benfry closed this as completed Jan 16, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants