Assertion checking is available only if you are running version 1.4 of the J2SE platform. By default, assertions are disabled. Assertion checking is available for External Execution, JAR Execution, and Debugger Execution. Additional execution types might be installed in your version of the IDE by extension modules.
To enable assertion checking for JAR Execution:
To enable assertion checking for all other execution types:
![]() |
You can enable assertions with various granularities. For more information, see http://java.sun.com/j2se/1.4/docs/guide/lang/assert.html |
See Also | |
---|---|
Working With Assertions Switching JDK Versions |