To be specific:
- Go to
Run->run configuration
- select
java application
in left nav pan. - right click and
select New
. - select
Arguments
tab - Add
-ea
in VM arguments.
More Related Contents:
- Eclipse: enable assertions
- assert vs. JUnit Assertions
- How to run eclipse in clean mode? what happens if we do so?
- No appenders could be found for logger(log4j)?
- Is there an easy way to attach source in Eclipse?
- Seeking useful Eclipse Java code templates [closed]
- Conversion to Dalvik format failed: Unable to execute dex: Java heap space
- Running multiple launch configurations at once
- Eclipse is confused by imports (“accessible from more than one module”)
- What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn’t?
- Why would one declare a Java interface method as abstract?
- How to set eclipse console locale/language
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) – PhoneGap
- Any reason to clean up unused imports in Java, other than reducing clutter?
- Android – How to create clickable listview?
- How do I save Eclipse launch profiles across workspaces?
- Setting up Eclipse with JRE Path
- Java 9: Module java.xml.bind is not accessible in Eclipse
- Read/write .txt file with special characters
- No color highlight in Eclipse in some files
- How to pass the -D System properties while testing on Eclipse?
- NoClassDefFoundError JsonAutoDetect while parsing JSON object
- Cannot recover key [duplicate]
- How can I disable compiler warnings in Eclipse on a file specific basis? [duplicate]
- Can we call another project java class from our project in eclipse
- Conditional Java compilation
- How can I use Firebase cloud message in an eclipse project?
- Colorize logs in eclipse console
- How to build and run Maven projects after importing into Eclipse IDE
- Java: How do I know which jar file to use given a class name?