Re: PATH to java in X11



On Sun, 30 Sep 2007 12:01:57 -0300
"Henrique G. Abreu" <hgabreu@xxxxxxxxx> 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: PATH to java in X11
    ... In my /etc there is no environment file ... I didn't used apt-get because I need this specific version. ... Find out how you can get spam free email. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: CLI tools for checking out CDROM drive
    ... When I put a disc in the green light comes on for a bit, ... committing major changes. ... Find out how you can get spam free email. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OT: memory requirements
    ... and xorg is using 70% of my memory. ... Is the problem occuring immediately after you reboot the machine? ... Get a spam free email account - Visit http://www.bluebottle.com ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: package management begins to annoy me
    ... Yes, you're using aptitude. ... It gives more information than apt-get and, as this poster ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Is apt-get still the cool package installer?
    ... I'll look into aptitude and synaptic. ... Now it wants me to 'apt-get autoremove' telling me that "The ... packages that I use on a daily basis. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)