问题
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