LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   no java install (https://www.linuxquestions.org/questions/linux-software-2/no-java-install-400940/)

Lar 01-08-2006 02:54 PM

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

Lenard 01-08-2006 03:02 PM

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>

mystic_durle12 01-08-2006 03:26 PM

he right. u have to change to mod of that file

Lar 01-08-2006 03:38 PM

no java install
 
after download it says No such file or directory when i type chmod Lar

Lenard 01-08-2006 04:07 PM

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>

Lar 01-08-2006 05:48 PM

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 ?

IBall 01-08-2006 07:18 PM

Open a terminal. Then type in:
Code:

cd Desktop
Now type in:
Code:

chmod +x name_of_file_that_you_downloaded.bin
Now:
Code:

./name_of_file_that_you_downloaded.bin
I hope this helps
--Ian

Lenard 01-08-2006 07:20 PM

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%]

Lar 01-08-2006 08:37 PM

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

IBall 01-08-2006 11:38 PM

The desktop is normally Desktop not desktop. Linux is case sensitive. When you open a terminal, enter
Code:

ls -l
and post here what the output is.

--Ian

Lenard 01-09-2006 05:52 AM

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.

IBall 01-09-2006 07:32 AM

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

mystic_durle12 01-09-2006 08:58 AM

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.