Passing jvm options to flink

Posted by Vishwas Siravara on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Passing-jvm-options-to-flink-tp29264.html

Hi ,
I am running flink on a standalone cluster without any resource manager like yarn or K8s. I am submitting my job using command line "flink run ..." . I have a couple of questions:

1.  How can I pass JVM parameters to this job. I want to pass a parameter for a dylib like this 
-Djava.library.path=/Users/vsiravar/temp/apollo/aipcryptoclient/lib . 

2. If I want to add an external directory on my server to my classpath , how can I do that ?

Thanks for all the help. I am truly grateful for all the help I have got building my flink app. 

Thanks,
Vishwas