Showing posts with label arguments. Show all posts
Showing posts with label arguments. Show all posts

Friday, January 7, 2022

How to set JVM arguments in IntelliJ Idea

In this tutorial, we will learn how we can set JVM argument in Intellij Idea. For e.g, if we need to set the JVM argument like -Djava.library.path=/path/to/native/library for native library.

For this, click on Add Configuration.   If you haven't created a configuration, then add one and assign the project working directory. Here we are adding 360learntocode as an example.

Now, if we don't see the VM options then click on Modify Option tab to add VM options.

After adding VM options, you can set the JVM arguments there and click apply and ok. If you want to add more than one argument use a comma to separate them.



Share: