Enabling Java Assertions per default in Eclipse Runtime Configuration
Assertions are a way to check in your Java coding for certain assumptions, e.g.
Assertions are available as of Java 1.4 and it is necessary to activate them via the jvm flag -ea or -enableassertions
See Assertions in Java for Details.
If you want to always enable assertions in your run configuration in Eclipse you can set this as a default flag in your runtime configuration under Windows -> Preference
This entry was posted in Eclipse
. Bookmark the permalink