A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
Joined: May 19, 2008
May 19, 2008 02:50:00
can anybody tell me how to enable assertions in eclipse?
Joined: Apr 09, 2006
May 19, 2008 03:46:00
I hope adding -ea as VM arg in the launch configuration and setting the source code level to >= 1.4 should be enough to enable assertions.
Joined: Feb 24, 2006
May 19, 2008 05:26:00
Open the run dialog and modify the VM arguments under the 'Arguments' tab. I would suggest that you use notepad instead of eclipse, since the IDE helps you autocomplete almost everything
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
Don't get me started about those stupid
Assertion is not in beta ...
i would like to know the
JUnit : AssertionFailed on String Comparison
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014