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
SCJP 5 Mock exam (Word document )
SCJP 5 Mock exam in Java.Inquisition format
I agree. Here's the link:
- it saves me about five hours per week
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013