Re: environment variables
On Tue, 7 Nov 2006 14:19:05 -0700
ChadDavis <chadmichaeldavis@gmail.com> wrote:
> I'm installing some software that needs the JAVA_HOME environement
> variables set. I read in the debian policy manual that system wide
> environment variables are a bad idea. I can see that. It suggests
> writing a wrapper script to start my program. The problem here is
> that you get a maintenance nightmare if you end up defining something
> like JAVA_HOME all over the place and then JAVA_HOME changes. Any
> ideas to solve this?
>
>
You could set JAVA_HOME to the (new) symlink /usr/lib/jvm/java, which
would in turn point to the JVM du jour. You could even employ the
alternatives system to "Debianise" this arrangement.
--
Liam
Reply to: