no java install
I'm trying to install java on fedora core 4 and I am having a hard time with the down load from the site .Im getting the rpm.bin file but when i try to open it i get the red x saying cannot open that its a type unknown and that its a shell script type of file. What am I doing wrong ? Can someone help and walk me thru this thing I;m at a point I;m lost and going in circles Thanks Lar
|
Review the installation instructions from Sun's site, please.....
As root; chmod +x <the_full_name_of_the_rpm_bin_file> ./<the_full_name_of_the_rpm__bin_file> |
he right. u have to change to mod of that file
|
no java install
after download it says No such file or directory when i type chmod Lar
|
And exactly where is the downloaded file??? Show exactly what you typed and what the directory contents are when you did;
ls -l <the_command_I_typed> |
java no install
when i try to open it i get the red x saying cannot open that its a type unknown and that its a shell script type of file. What am I doing wrong ?
It is downloaded to my desktop but i cannot open it is what im saying .So now whats next ? |
Open a terminal. Then type in:
Code:
cd Desktop Code:
chmod +x name_of_file_that_you_downloaded.bin Code:
./name_of_file_that_you_downloaded.bin --Ian |
You open an xterm session or from the console and type the commands pressing the 'Enter' key after each line. Here again are the commands to type;
$ su - <provide root's password when asked> # cd (to where the downloaded file is) # chmod +x jre-1_5_0_06-linux-i586-rpm.bin # ./jre-1_5_0_06-linux-i586-rpm.bin Here have a look........ [lenard@Aspire5000 Downloads]$ su - Password: [root@Aspire5000 ~]# cd /home/lenard/Downloads [root@Aspire5000 Downloads]# chmod +x jre-1_5_0_06-linux-i586-rpm.bin [root@Aspire5000 Downloads]# ./jre-1_5_0_06-linux-i586-rpm.bin Sun Microsystems, Inc. Binary Code License Agreement for the JAVA 2 PLATFORM STANDARD EDITION RUNTIME ENVIRONMENT 5.0 <snip> Do you agree to the above license terms? [yes or no] yes Unpacking... Checksumming... 0 0 Extracting... UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu). inflating: jre-1_5_0_06-linux-i586.rpm Preparing... ########################################### [100%] |
java no install
This is crazy ..I never had all this trouble all your help is definatly appreciated but There has to be something im not doing or else something has been done ,,,THe file jre-1_5_0_06-linux-i586.bin sits on my desktop rught now and i go to properties and it says the name ..type is a shell script ...size 16.0 MB location /home/mbs/Desktop....MIME type application/x-shellscript date modified and accessed and when i go to terminal and type cd desktop in root it comes up and says No such file or directory also i can not list it or see it anywhere in my list ...everything i tried always comes up no such file or directory but i see it on my desktop and watch it download go figure ...Lar
|
The desktop is normally Desktop not desktop. Linux is case sensitive. When you open a terminal, enter
Code:
ls -l --Ian |
I think I understand now........
Your GUI Desktop is not quite a normal directory location, it is a sub-dirctory of .kde or .gnome(something). I do not use Gnome so I'm not 100% sure of which hidden .gnome* location it is. Move the file (drag and drop) to your /root folder. |
Actually, AFAIK, the desktop is ~/Desktop. When you download files with Firefox, they are saved to your desktop by default. You can access them in the folder ~/Desktop.
Lar needs to change to this directory, add the executable bit to the java installer, and run it. --Ian |
why dont u copy the file to a location that is accessible. like /opt or something like that and then do all that procedure.
|
All times are GMT -5. The time now is 06:58 PM. |