My code uses a library which loads libjvm.so
in order to embed some java code, essentially running the JVM within my process.
AFAIK normally when running with the java
executable, one passes options through the command line arguments, Is there an equivalent when embedding libjvm
?
I have already tried to use the JAVA_OPTS
environment variable, but without success. Is there another way? Maybe even a "canonical" way?