How to set JVM arguments in IntelliJ IDEA?

落花浮王杯 提交于 2019-12-06 18:49:07

问题


I am confused about the instruction when using Kinesis Video Stream

Run DemoAppMain.java in ./src/main/demo with JVM arguments set to

-Daws.accessKeyId={YourAwsAccessKey} -Daws.secretKey={YourAwsSecretKey} -Djava.library.path={NativeLibraryPath}

for non-temporary AWS credential.

How to set these arguments in IntelliJ IDEA?

I followed the documentation and found the "Run/Debug Configurations" and don't know what to do next.

Any help?
Thanks!


回答1:


You're correct about the Run/Debug Configurations section!

All you need to do is add your arguments to VM options or Program arguments, depending on the type of arguments you're attempting to pass in.




回答2:


You can set it in Intellij using

Help -> Edit Custom Vm Options


来源:https://stackoverflow.com/questions/50938383/how-to-set-jvm-arguments-in-intellij-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!