Enabling assertions in Netbeans

前端 未结 8 2104
花落未央
花落未央 2020-12-07 00:40

I wanna do something like

java -enableassertions com.geeksanonymous.TestClass

How do I do this?

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 01:04

    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.

提交回复
热议问题