LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-24-2003, 08:36 PM   #1
wrench38
LQ Newbie
 
Registered: Dec 2003
Location: NH
Distribution: RH 8
Posts: 3

Rep: Reputation: 0
cannot install JRE in RH8


rpm-i j2re-1_3_1_10-linux-i586-rpm.bin results in command not found.
I downloaded the file from Sun and put it in a file in my user directory. have tried using the complete path, but either get commmand not found or no such file or directory. I hope there is some standardization to this procedure.
 
Old 12-24-2003, 09:24 PM   #2
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
chmod +x j2re*.bin

./j2re*.bin

.................

wait. hold off on what i say above.

Last edited by macewan; 12-24-2003 at 09:25 PM.
 
Old 12-24-2003, 11:37 PM   #3
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
ive had problems with running SUNs java on RedHat. if you get frustrated try www.blackdown.org
 
Old 12-25-2003, 12:38 AM   #4
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
do a full compile from the tar.gz. go as root to your source file location then hook the libjavaplugin_oji.so as "ln -s libjavaplugin.so" under your /usr/lib/mozilla-1.x/plugins directory.
this will not work consistently with Blackdown, and almost never with the j2re RPM, except on Caldera 3.1.1.
Luck -O.
 
Old 12-25-2003, 01:51 AM   #5
wrench38
LQ Newbie
 
Registered: Dec 2003
Location: NH
Distribution: RH 8
Posts: 3

Original Poster
Rep: Reputation: 0
cannot install JRE in RH8

I must be doing something wrong. Haven't been able to execute any commands in term. window. GUI works fine. I can install anything that's on the CDs. This was to be a simple exercise in installing RPMs.
Was able to access the install log and verify that RPM was installed. I'm not ready to compile anything.
For now , I'll have to trust the developers to build these things so they work. Would like to find a tutorial with examples that can be repeated successfully.
 
Old 12-25-2003, 12:28 PM   #6
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
alrightee then. don't flame me if i ask a dumb question: are you a real new newbie? 'cause here is what i shall propose, assuming this: acquire an RH oriented how-to book. many good shops carry them, and they can be found in the sidebars of nearly all linux/unix slanted sites. linux.com, edmunds-enterprises.com, linux.org, freshmeat, even online book dealers, including SAMs, SYBEX, and of course, Amazon.com. don't be too startled by the exhorbitant pricing, tho.
punching your topic into the search bar on the home page here is a very good way to start exploring on-the-cheap,
or you could type into your term:
su -
and for information:
man rpm (or whatever else you're curious about).
hope this helps somewhat. last but not least, goto www.redhat.com, and dig into their Doc info, or to gnome.org (kde.org if that).
Luck -O.
 
Old 12-26-2003, 06:26 PM   #7
wrench38
LQ Newbie
 
Registered: Dec 2003
Location: NH
Distribution: RH 8
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks. I'll go the book route when budget allows. They usually write in english-some in plain english. will probably reinstall too. can't even do a simple cd command! I will learn this thing.
 
Old 12-26-2003, 07:07 PM   #8
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Rep: Reputation: 15
LOL wow..i dunno who the newbies are, me & wrench, or the rest of you's. However, Macewan's got the right idea.

Bud, here's a start on Linux. The file you downloaded can't be executed directly (I didn't state that right but whatever).

Try doing the following if you have RH8.0:

1. If you're not logged in as "root", then type in "su -l root", press enter and then enter your password for the root allpowerful user.
2. Type the following in "sh rpm-i j2re-1_3_1_10-linux-i586-rpm.bin" and you will get a stupid Agreement. Hold the enter button for a while untill you see the same thing repeat. Press "Y" to accept the agreement. You just caused the bin to unzip itself into an RPM.
3. Go to your file manager and just double click the shit outa that RPM. or if you want to use the terminal, use "rpm -ivh RPMNAMEGOESHERE".
4. You must "install" the plugin into the specified browser that you're using. generally, only the engine needs the plugin. And since most browsers run on the mozilla engine, we will install it there. In your terminal, type "ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla-1.0.2/plugins". Check paths, versions, and filenames before you press enter. As you can see there, I have j2re1.4.2_03, and mozilla-1.0.2. So make sure those are right. Just browse to the libjavaplugin_oji.so file and copy that path and then browse to the mozilla folder and copy that path. It's the only way to go.

I've also installed flash and shockwave plugins for my mozilla from their original distributors such as SUN, and macromedia. Many people told me that SUN & macromedia distros won't work. But I guess all it takes is a little time.

BTW, i'm a
 
Old 12-26-2003, 08:41 PM   #9
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
yuh. technically, unless your name is torvaalds, everyone is some category of Newbie. i've been groping around in several distro's, windows included, for about twelve years now, and still get that "now why didn't i think of that a year ago" enlightenment about once a week. i think there's even a Fortune cookie to that effect.

hmmm. this may be why i still surf to "newbie" rooms. seriously:
as for the terminal inexperience, wrench, i recommend you access the sites i mentioned, beat the dickens out of their Search site (or google, or whatever) engine, and learn the term basics. plug in the words xterm, gedit, or kate, for starters, or just page through that pain in the posterior popup that you get when you first click on KDE's Kate, kterm, or try a cold boot console. you really know you're getting somewhere in the skill level, when you have to reformat and reload an OS for the 100th time, due to code tampering.....as the germans say: have a lotta fun!
-O.
 
  


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
Howto install/use java(jre)? eras Linux - Newbie 5 04-12-2005 06:05 PM
jre install problem.. tehnick Linux - Software 6 03-29-2005 08:30 AM
Install/Uninstall LimeWire...PATH...JRE joe6pack Linux - Software 7 03-07-2005 07:30 PM
Can't install latest JRE EOHooligan Linux - Software 1 02-08-2005 06:28 PM
JRE Install GiveItAShot Linux - Software 1 03-18-2003 12:55 PM


All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration