Enable the Java keyword assert in Eclipse

In Eclipse IDE the  Java keyword assert is disabled by default. In this article I’m going to explain how to enable Java keyword assert easily. Check it out!

1- In your project go to Run As -> Run Confiurations


2- Double-click in Java application/ Right click and then New


3- Select Arguments  and add “-ea”VM arguments