LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-02-2004, 04:40 PM   #1
wizjr1
LQ Newbie
 
Registered: Mar 2004
Location: Tennessee
Distribution: Red Hat 9, FC1, FC2, FC3, CentOS
Posts: 21

Rep: Reputation: 15
How Do you install Java?


I have downloaded different version of it and none will install. Here is the list of files that i have downloaded.

j2re-1_4_2_03-linux-i586.bin
j2re-1_4_2_05-linux-i586.bin
j2re-1_4_2_03-linux-i586-rpm.bin
j2re-1_4_2_05-linux-i586-rpm.bin

None will open with the Destop's 'Archive Manager' so they won't self install.
What else can I do?
I'm a complete noob here and really wanting to make Linux work, but without Java I'll have to go back to Windoze.
Is there somewhere I can go and get the instructions on how to do this? I've been looking for hours on the site here but all I can find is how to setup the symbolic link and not how to install it directly.

Thanks for any help you can give.
 
Old 07-02-2004, 04:46 PM   #2
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
By convention I install things in /usr/local and I usually give my user ownership over that dir, but you can put it were ever you want just change things acordingly.

mv j2sdk-1_4_2_04-linux-i586.bin /usr/local/

cd /usr/local

chmod 777 j2sdk-1_4_2_04-linux-i586.bin

./j2sdk-1_4_2_04-linux-i586.bin

agree with terms

rm -rf j2sdk-1_4_2_04-linux-i586.bin

ln -s j2sdk1.4.2_04/ java

cd ~

Add to .bashrc or .bash_profile...............

JAVA_HOME=/usr/local/java export JAVA_HOME

and add to your path

PATH=$JAVA_HOME/bin export PATH

Make sure you invoke your profile

. .bash_profile

then you should be able to echo $JAVA_HOME
 
Old 07-02-2004, 10:36 PM   #3
gonzalo76
Member
 
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34

Rep: Reputation: 15
Just download the RPM from http://dag.wieers.com/packages/j2re/.
Then, copy libjavaplugin_oji.so to /usr/lib/mozilla/plugins or wherever is your plugins folder of your default browser.
 
Old 07-03-2004, 08:52 AM   #4
Vesical
LQ Newbie
 
Registered: Jan 2004
Location: United States - PA
Distribution: Fedora Core 1
Posts: 9

Rep: Reputation: 0
There is more info here .
 
  


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
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
Java Install marlaina1 Linux - Software 5 03-22-2004 11:58 AM
Java Install Please Help!!! unwrittenlaw Linux - Newbie 22 11-08-2003 11:42 PM
Help with java install (again...) MidgetmanUK Linux - Newbie 3 10-04-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:32 PM.

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