Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-11-2003, 06:50 AM   #1
LQ Newbie
Registered: May 2003
Location: Dortmund, Germany
Posts: 2

Rep: Reputation: 0
Question Java Installation on Mandrake

Hi all !

I got a problem with installing java on my Mandrake (9.1) Linux.
I downloaded the sdk 1.4 as a .bin file from

Then i managed (yes, im a complete new to linux ;-) ) to execute the
install script.
After a little search i found the java installation in my /user/java/j2[...]/bin path.

The first problem i have, is that when i type simply "java" in my terminal nothing happens. I have to change to my java installation path and type "./java" or "./javac" to get the interpreter/compiler to work.

As i have read in some other threads, i tried to put my installation path to my environment variable with export PATH=/usr/java/j2sdk1.4.1_02/bin/:$PATH

When i type in a "echo $PATH" the new directory is listed, but after a system restart it's gone again.
I also tried to enter "source ~/.bashrc" after the export command, but that gives me the following error :
bash: TMOUT: readonly variable
(tried the command both as normal user and root)

So many questions here ;-) I would be glad if you can help me with one or more of my questions.
As im a newb. to linux - Some detailed Information about the "backgrounds" or some link to a good tutorial would help me as well :-)
Old 05-11-2003, 07:10 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
The point of sourcing bashrc is that you put that line in there:

Save and exit. THEN source the file:
source .bashrc

Old 05-11-2003, 12:46 PM   #3
LQ Newbie
Registered: May 2003
Location: Dortmund, Germany
Posts: 2

Original Poster
Rep: Reputation: 0
hmm, i again get this message :
[hotkey@hotkey hotkey]$ source ~/.bashrc
bash: TMOUT: readonly variable

I've put the line in my bashrc like the following :
# User specific aliases and functions

Is this right? And what exactly does the "source" function ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
java installation Prageem Linux - Software 4 09-20-2005 11:48 AM
Java 2 SDK 1.4.2 Installation smacarth Linux - Software 20 02-22-2004 02:11 PM
Installation of Java WiWa Linux - Software 2 12-04-2003 05:37 PM
Java installation shyamlahari Linux - General 6 10-09-2003 05:18 PM
Help in Java installation JIV Programming 6 04-28-2003 12:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration