I wanna do something like
java -enableassertions com.geeksanonymous.TestClass
How do I do this?
With a Maven project in netbeans 7.0, choose "File" -> "Project Properties ()".
In the window that appears, choose "Run", and add -enableassertions
to the "VM Options" textbox.