LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-08-2006, 02:54 PM   #1
Lar
Member
 
Registered: Oct 2004
Posts: 39

Rep: Reputation: 15
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
 
Old 01-08-2006, 03:02 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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>
 
Old 01-08-2006, 03:26 PM   #3
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Rep: Reputation: 15
he right. u have to change to mod of that file
 
Old 01-08-2006, 03:38 PM   #4
Lar
Member
 
Registered: Oct 2004
Posts: 39

Original Poster
Rep: Reputation: 15
no java install

after download it says No such file or directory when i type chmod Lar
 
Old 01-08-2006, 04:07 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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>
 
Old 01-08-2006, 05:48 PM   #6
Lar
Member
 
Registered: Oct 2004
Posts: 39

Original Poster
Rep: Reputation: 15
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 ?
 
Old 01-08-2006, 07:18 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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
 
Old 01-08-2006, 07:20 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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%]
 
Old 01-08-2006, 08:37 PM   #9
Lar
Member
 
Registered: Oct 2004
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 01-08-2006, 11:38 PM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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
 
Old 01-09-2006, 05:52 AM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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.
 
Old 01-09-2006, 07:32 AM   #12
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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
 
Old 01-09-2006, 08:58 AM   #13
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Rep: Reputation: 15
why dont u copy the file to a location that is accessible. like /opt or something like that and then do all that procedure.
 
  


Reply



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
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
where to install java ? Volcano Linux - Newbie 15 09-08-2005 01:07 AM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
Java Install Please Help!!! unwrittenlaw Linux - Newbie 22 11-08-2003 11:42 PM
how to install java huno Linux - Software 3 10-29-2002 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:18 AM.

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
Open Source Consulting | Domain Registration