LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-28-2005, 11:21 AM   #1
scrag1979
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, 12:27 PM   #2
megaspaz
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:
./java_package_name_blah.586.rpm.bin

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:
JAVA_HOME=/usr/java/<java_install_directory>
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, 01:13 PM   #3
redhatrosh
Member
 
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....)

http://www.linuxquestions.org/questi...hreadid=312640

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:54 AM.

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