Re: PATH to java in X11
On Sun, 30 Sep 2007 12:01:57 -0300
"Henrique G. Abreu" <hgabreu@gmail.com> wrote:
> I've read many forums and threads in debian lists, but no solution
> worked to me.
>
> I've downloaded and unpacked to /opt the jdk1.5.0_12
> I didn't used apt-get because I need this specific version.
>
> Then, I need to set java environment variables globally
> And include /opt/jdk1.5.0_12/bin to PATH
>
> I inserted in /etc/bash.bashrc:
> export PATH=$PATH:/opt/jdk1.5.0_12/bin
>
> it works to all terminals, but don't to X11
> for example: I can't start Azureus from menu link
>
> Then I tried /etc/profile
> but it didn't work either
>
> thanks,
I have the following line in /etc/environment:
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
I hope this helps.
--
Szia:
Nyizsa.
----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3
Reply to: