isomorphismes
isomorphismes

Reputation: 8403

What environment variables do I need to set for Java?

I don't know Java, but I am calling (from Ubuntu) something that requires it. I've exported 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

Answers (1)

Ted Bigham
Ted Bigham

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

Related Questions