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 |
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. |
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 |
you chmod the file so you can execute it. after you chmod the file and you get your prompt back type
$ ./<filename.bin> |
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 |
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 |
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 |
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:p 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 |
All times are GMT -5. The time now is 02:33 PM. |