How to pass VM arguments in Eclipse IDE


On this page, we’ll show how we can pass VM arguments in Eclipse while running the application through the IDE. Eclipse is one of the most popular IDE among the Java developer that we have already covered in our Top 5 IDE for Java Developer article.

P.S Tested on Spring Tool Suite (STS) 4 which is built on the Eclipse platform.

In the below steps, we’ll show How to pass VM arguments in Eclipse IDE step by step:

Step 1: Open the IDE and right-click on the application in which you want to pass VM arguments.

Step 2: Click on the Run As » Run Configurations…

How to pass VM arguments in Eclipse IDE

Step 3: Click on the Arguments tab and in the VM arguments: box, type the arguments that you want to pass.

How to pass VM arguments in Eclipse IDE

Step 4: Hit the Run button and here you go 🙂

References

  1. Top 5 IDE for Java Developer
  2. Download Eclipse

Similar Posts

About the Author

Atul Rai
I love sharing my experiments and ideas with everyone by writing articles on the latest technological trends. Read all published posts by Atul Rai.