I wanna do something like
java -enableassertions com.geeksanonymous.TestClass
How do I do this?
The easiest way in latest version of Netbeans 8.0 will be... Go to RUN->Set Project Configuration->go for "customize"
then a window pops-up again click on "Customize" in front of VM Options n select "ea" in the options.