Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 16:14:12 +0000
From:      "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   [stupid question] setting env variables globally
Message-ID:  <4718D7D4.2010604@gmail.com>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4718D7D4.2010604>