Re: PATH to java in X11

2007-10-02 Thread Liam O'Toole
On Tue, 02 Oct 2007 05:46:01 +0530 Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote: > Henrique G. Abreu wrote: > > I'm running Lenny. > > I've inserted the lines to .bashrc as you sad > > but it only worked to the terminal > > it had no effect in gnome (eg: using Alt+F2) > > > > I inserted 'source /e

Re: PATH to java in X11

2007-10-02 Thread Nyizsnyik Ferenc
On Sun, 30 Sep 2007 20:39:28 -0300 "Henrique G. Abreu" <[EMAIL PROTECTED]> wrote: > I've created /etc/environment file like this > JAVA_HOME="/opt/jdk1.5.0_12" > export JAVA_HOME There's no need to export the variables defined in /etc/environment... > PATH="$PATH:$JAVA_HOME/bin" > export PATH .

Re: PATH to java in X11

2007-10-01 Thread Raj Kiran Grandhi
Henrique G. Abreu wrote: I'm running Lenny. I've inserted the lines to .bashrc as you sad but it only worked to the terminal it had no effect in gnome (eg: using Alt+F2) I inserted 'source /etc/profile' directly into /etc/X11/Xsession.d/55gnome-session_gnomerc and it's working now! I still want

Re: PATH to java in X11

2007-10-01 Thread Henrique G. Abreu
I'm running Lenny. I've inserted the lines to .bashrc as you sad but it only worked to the terminal it had no effect in gnome (eg: using Alt+F2) I inserted 'source /etc/profile' directly into /etc/X11/Xsession.d/55gnome-session_gnomerc and it's working now! I still want to know the correct way to

Re: PATH to java in X11

2007-09-30 Thread Mumia W..
On 09/30/2007 06:39 PM, Henrique G. Abreu wrote: I've created /etc/environment file like this JAVA_HOME="/opt/jdk1.5.0_12" export JAVA_HOME PATH="$PATH:$JAVA_HOME/bin" export PATH Don't set the PATH this way. Specify the path list fully: JAVA_HOME=/opt/jdk1.5.0_12 PATH=/usr/bin:/bin:/usr/bin

Re: PATH to java in X11

2007-09-30 Thread Henrique G. Abreu
I've created /etc/environment file like this JAVA_HOME="/opt/jdk1.5.0_12" export JAVA_HOME PATH="$PATH:$JAVA_HOME/bin" export PATH The first time I started and logged into gdm, it failed. Then I went to /etc/ and changed environment permissions. Ok, I managed to log in, but PATH doesn't have /opt

Re: PATH to java in X11

2007-09-30 Thread Henrique G. Abreu
In my /etc there is no environment file Must I create one? Thanks On 9/30/07, Nyizsnyik Ferenc <[EMAIL PROTECTED]> wrote: > > On Sun, 30 Sep 2007 12:01:57 -0300 > "Henrique G. Abreu" <[EMAIL PROTECTED]> wrote: > > > I've read many forums and threads in debian lists, but no solution > > worked to

Re: PATH to java in X11

2007-09-30 Thread Nyizsnyik Ferenc
On Sun, 30 Sep 2007 12:01:57 -0300 "Henrique G. Abreu" <[EMAIL PROTECTED]> 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,

PATH to java in X11

2007-09-30 Thread Henrique G. Abreu
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 ins