[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X environment variables

On Wed, 2005-03-02 at 01:47 +0200, Gedas wrote:
> Hello,
> I am trying to add java to my environment PATH variable. Everything
> works fine from gnome-terminal after I add
> 	export JAVA_HOME=/opt/jdk
> 	export PATH=$PATH:$JAVA_HOME/bin
> to my ~/.bashrc or /etc/bash.bashrc.
> But this PATH variable is not accessible from X windows outside
> gnome-terminal. For example when i try to launch some java application
> from my GNOME applications menu java binnary cannot be found.

try in /etc/profile or ~/.bash_profile

Plantalta random fortune:
Turbio turbio como la caca.

Reply to: