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: Apt-get upate problem
    ... Unless my logic is askew, this means that the problem is not the file size or type, nor the repository, nor any problem with the integrity or "downloadability" of the files. ... that only leaves apt-get itself as the culprit. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: System maintenance
    ... the command 'u' updates its package lists, 'U' then does the same as ... apt-get upgrade, except that it just decides which things to upgrade ... I use it only when aptitude is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)