installing java on Linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
Subject: installing java on Linux
.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?