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.
-enableassertions
1.4m articles
1.4m replys
5 comments
56.9k users