0

I am working on a project using Netbeans Application development and there r errors caused due to assertions

i heard that assertions can be disable in jvm while running

can anyone tell how to disable assertions in netbeans application development

CoderCoder
  • 358
  • 2
  • 7

1 Answers1

0

Based on what kind of assertions are used.

If it is the standard Java assertions introduced in 1.4.2, then simply remove the -ea (or --enable-assertions) VM argument of the run configuration.

rlegendi
  • 10,466
  • 3
  • 38
  • 50