LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2004, 11:38 PM   #1
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Rep: Reputation: 15
problem installing java plugin


H I'm trying to install the java plugin ......

j2re-1_4_2_04-linux-i586.bin

the install instructions from sun site:

j2re-1_4_2_04-linux-i586.bin

A license agreement is supposed to appear but never does?

Then

chmod a+x j2re-1_4_2_04-linux-i586.bin

This is supposed to launch the installation scripts
but it just returns to prompt.

Running rh9.0

any help appreciated.

Bob
 
Old 04-16-2004, 01:21 AM   #2
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
You have to be root and you must chmod *before* you run the auto-extracting file.

Why didn't you download the rpm (j2re-1_4_2_04-linux-i586-rpm.bin) ? On RH it's easier.
 
Old 04-16-2004, 02:33 AM   #3
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Original Poster
Rep: Reputation: 15
I tried both the self extracting file and the rpm and followed the instructions
(from Sun site: http://www.java.com/en/download/help...sp#install-pkg) for
installing both without any luck at all.
this is what happens for rpm.....

[root@jekyll java]# chmod a+x j2re-1_4_2_04-linux-i586-rpm.bin
[root@jekyll java]#

this command is supposed to launch the license agreement ....it doesn't. As far as I can tell I am following the instructions correctly. I have the rpm and the self extracting file in the usr\java directory and I have cd to the java directory and run the install commands as per Sun instructions for both self extracting and rpm without any result at all.. does sun not like rh

anyway thanks for the reply.

Bob
 
Old 04-16-2004, 04:35 AM   #4
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
you chmod the file so you can execute it. after you chmod the file and you get your prompt back type
$ ./<filename.bin>
 
Old 04-16-2004, 04:38 AM   #5
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
chmod will change the permissions on the file.
In this case you are saying to make it executable for all users.
So next you want to actually run it. Type:
Code:
./j2re-1_4_2_04-linux-i586-rpm.bin
and then you will see the license agreement
 
Old 04-16-2004, 04:39 AM   #6
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Original Poster
Rep: Reputation: 15
Yep been there done that...

[root@jekyll java]# j2re-1_4_2_04-linux-i586-rpm.bin
bash: j2re-1_4_2_04-linux-i586-rpm.bin: command not found

your interest is appreciated though

Bob
 
Old 04-16-2004, 04:41 AM   #7
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
you are taking our suggestions to lightly.

add the ./ in front of it
It is looking to the PATH variable for a directory containing the file without the ./
./ will tell it to look in that local directory

Last edited by hypexr; 04-16-2004 at 04:42 AM.
 
Old 04-16-2004, 05:22 AM   #8
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Original Poster
Rep: Reputation: 15
Hmmm yes, ok levity wasn't my intent I was just a little nonplussed, after all I did
follow the Sun instructions to the letter they obviously didn't think the ./ important enough to include in their install instructions.

However I did miss the suggestion to use ./ in the last post so apologies

thanks for your replies, once I put the ./ everything was ok and I ran

[root@jekyll java]# rpm -iv j2re-1_4_2_04-linux-i586.rpm
Preparing packages for installation...
j2re-1.4.2_04-fcs
so am assuming evrything is installed now.

once again thanks for the help.

Bob
 
  


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
Problem installing Java plugin to Mozilla on AMD64 ouimet Linux - Software 2 01-14-2005 01:59 PM
Installing Java plugin w/ Opera 7.5.3 judgedeath2 Linux - Newbie 3 07-29-2004 03:40 PM
problem installing java plugin - Mozilla firefox chr15t0 Linux - General 2 07-20-2004 04:48 AM
trouble installing java plugin on mozilla 1,7c joe83 Slackware 2 06-08-2004 02:35 PM
trouble installing java plugin on mozilla 1,7c joe83 Slackware 1 05-12-2004 10:45 AM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration