installing java on Linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David Huerta
Date:  
Subject: installing java on Linux
Hmm... Its working with the following bashrc file, without doing
anything to the bash_profile file:

        # .bashrc


        PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/java/j2re1.4.1_03/bin:/usr/java/j2sdk1.4.1_04
        ENV=$HOME/.bashrc
        USERNAME="root"
        export USERNAME ENV PATH


        # Source global definitions
        if [ -f /etc/bashrc ]; then
            . /etc/bashrc
        fi


I tested it by installing Arachnophilia, although I still can't get
LimeWire installed. I appreciate everyone's help in this, now I don't
have to reboot into Windows to run my java programs. :-)

On Mon, 2003-08-25 at 20:11, Kevin Brown wrote:
> .bashrc is supposed to be used by non login shells, whereas
> .bash_profile is supposed to be used for login shells (at least that is
> how the debian box I set up at work described them).
>
> > Wouldn't that be placed in the bashrc file?
> >
> > On Mon, 2003-08-25 at 19:41, Bart Garst wrote:
> >
> >>It depends on which shell you use.
> >>
> >>For bash you would add to '~/.bash_profile':
> >>PATH=$PATH:/usr/local/j2sdk1.4.1_01/bin
> >>export PATH
> >>
> >>Bart
> >>
> >>
> >>On Mon, 2003-08-25 at 19:33, David Huerta wrote:
> >>
> >>>>I used the j2sdk-1_4_1_01-linux-i586.bin package from Sun. It installed all
> >>>>the files in /usr/local/j2sdk1.4.1_01. Then I had to place
> >>>>'/usr/local/j2sdk1.4.1_01/bin' on my path.
> >>>
> >>>I have a feeling the problem may be I have not edited any paths. How
> >>>would I go about doing this?
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss