D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Ubuntu and Environment Variables

 

On 15/11/06, Jon <jonathan.holloway@xxxxxxxxx> wrote:
I've been looking at Ubuntu (specifically 5.10 - Breezy) for a while now. 

You should upgrade to Dapper. Breezy is long-since obsolete.

I want to setup a bunch of environment variables that are available to
services (Tomcat, JBoss) when I boot Ubuntu.  My naive
understanding is that anything placed in .bashrc or /etc/profile will be
available on a per user basis.  That's fine but I want to set an environment
variable for all users, e.g. JAVA_HOME.  Any ideas how I do this?

I think that "sudo $JAVA_HOME=n" may do it.

--
Ben Goodger
#391382
---------------------

Mi admiras religiajn; ili estas fine ebliĝinta solvi la maljunegan demandon "kiel oni povas vivi sencerbe?".
It is well-known that I am blunt and unsophisticated. It's largely your fault if you object to this.
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html