I have a jar file, which runs fine in a shell, that I want to use in MAX. Running the jar from an MXJ object, certain environment variables are not properly set. Is there a way for MAX to set these? I was thinking maybe there is a max.jvm.option you could put in the max.java.config.text that will set the desired values. Other possibilities are welcome.
Usually the standard way to pass environment variable-like settings to Java is to use system properties. These are changeable inside Java, and could also be set with the -Dname=value option in the max.java.config file.
So are you sure you really need environment variables, or would system properties work?