Review your favorite Linux distribution.
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-28-2005, 12:21 PM   #1
LQ Newbie
Registered: May 2005
Posts: 3

Rep: Reputation: 0
java install issues

Hello i recently decided to switch from xp over to the latest mandrake and im wanting to install a bit torrent client however it needs java. i have downloaded the java file to my desktop it is an i586.rpm.bin file, however im not sure where to install it too or how to install it at all, any input would be greatly appreciated
Old 05-28-2005, 01:27 PM   #2
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
open up a shell terminal and navigate to your desktop directory.
use this command to extract the *.bin file:

follow all the instructions and accept the license agreement.

use this command as root (su) to install the extracted rpm.

rpm -ivh java java_package_name_blah.586.rpm

java should now be installed in /usr/java

now you need to set up your path and JAVA_HOME environment variable. i make these global by using pathmunge and editing the /etc/profile file.

for me there's a line in the file that looks like:
pathmunge /usr/X11R6/bin after

after that line, put in these lines:
pathmunge $JAVA_HOME/bin after
export JAVA_HOME

for <java_install_directory> use the install directory name in /usr/java and save the file.
now you should be able to reload these variables by logging out and logging back in. if that doesn't work, rebooting your computer will definately work.
Old 05-28-2005, 02:13 PM   #3
Registered: May 2004
Location: Student of University of Mumbai, Maharastra State, India
Distribution: Redhat Linux 9.0, Knoppix LIVE CD, Ubuntu Live CD, Kubuntu Live CD
Posts: 483

Rep: Reputation: 30
...and if it still doesnt work (just in case....)

read the post put up by me.....

its only the "path" part I am talking and emphasizing upon!


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
Azureus Java issues dreakon SUSE / openSUSE 1 10-03-2005 10:55 AM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 09:24 PM
Java issues mtecknology Linux - Software 2 07-01-2005 03:24 PM
Issues with JAVA Scrob Linux - Newbie 1 02-18-2005 02:45 PM
Java Issues odd Linux - Software 11 05-03-2004 03:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration