Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2004, 04:06 PM   #1
Registered: Nov 2002
Location: New Zealand
Distribution: Mandrake 9.0
Posts: 46

Rep: Reputation: 15
Java install problems mandrake 9.1 have wiewed postings

Iam trying install java in mandrake 9.1 and having problems getting java to work.
I have read most of the postings and have tried out most of the remedies however still cannot get java to work in firefox.

1. Download and check the file size.
You can download to any directory you choose.
Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal.
2. Extract the contents of the downloaded file.
Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract the RPM file:
chmod a+x j2re-1_5_0_<version>-linux-i586-rpm.bin

Note that the initial "./" is required if you do not have "." in your PATH environment variable.
The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2re-1_5_0_<version>-linux-i586.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the packages that comprise the Java 2 Runtime Environment:
rpm -iv j2re-1_5_0_<version>-linux-i586.rpm

Done this then
tewaru@localhost tewaru]$ which java
which: no java in (/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/tewaru/bin)
[tewaru@localhost tewaru]$
So Then done as advised in postings
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc

# User specific environment and startup programs

export PATH
export JAVA_HOME

So then got this again

tewaru@localhost tewaru]$ which java
which: no java in (/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/tewaru/bin)
[tewaru@localhost tewaru]$
have pointed the plug in to firefox and, its in the plug in directory
I would appreciate any advice Thanks


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
Req:- how to Install java in mandrake 10.1 bihag Linux - Newbie 3 09-07-2005 03:11 AM
java install problems have read postings mandrake 9.1 tewaru Linux - Newbie 3 05-07-2004 02:26 AM
How to install Java for mandrake 9,2 wolftechmn Mandriva 9 12-10-2003 12:12 AM
java and flashplayer install problems on Mandrake 9.1 gasfrog Linux - Newbie 14 07-20-2003 06:12 PM
Mandrake 9.0 and Java jdk + Forte problems lolmc Linux - Software 0 12-14-2002 12:02 AM

All times are GMT -5. The time now is 11:10 PM.

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