Reputation: 8403
I don't know Java, but I am calling (from Ubuntu) something that requires it. I've export
ed LD_LIBRARY_PATH
and JAVA_HOME
. But I don't know what other environment variables Java might need. Without knowing what terms to google, I can't google.
Is there some common list of environment variables that always need to be set for Java, or will they all be specific to my application (rJava)?
Upvotes: 0
Views: 87
Reputation: 4340
The java binary doesn't require any variables by default. It get's it config info from command line switches. Many scripts generate switches from environment variables before launching java, so those are specific to each script.
Upvotes: 2