[stupid question] setting env variables globally

Aryeh M. Friedman aryeh.friedman at gmail.com
Fri Oct 19 13:42:56 PDT 2007

Is there any way to set the default value of a enviromental variable
globally.   Specifically I want JAVA_VERSION to default to "1.6" unless
the user sets it other wise.   By global I mean no matter how something
is invoked (command line, script, GUI, IPC trigger, etc.) if it checks
the value of the var it gets the same value (and I want to do this
system wide)

More information about the freebsd-questions mailing list