How can I enable the assert
keyword in Eclipse?
public class A
{
public static void main(String ... args)
{
System.out.println(1);
assert false;
System.out.println(2);
}
}
To be specific:
Run->run configuration
java application
in left nav pan.select New
.Arguments
tab-ea
in VM arguments.