Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2006, 10:45 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Angry Shell Script? .Bin file?

Hey guys. I am completely new to the whole linux thing, but i am slowly learning things.

But, alas, as expected, it seems i have hit a bump in the road.

I have downloaded a Java file from the sun website called "jre-1_5_0_07-linux-i586-rpm.bin"

Now, for one: I don't know if i have the correct version.
I am running Mandrake 10.0, and i am just trying to get Java working so i can use Limewire.

I have tried the things that were posted in different threads, but it would seem as though nothing happened.

If any can suggest something, i would really appreciate it. Thanks!
Old 07-05-2006, 10:53 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
there was a link right directly next to the download button you clicked to get the java install, the button said "Instructions"
Old 07-05-2006, 11:14 PM   #3
LQ Newbie
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick response, but i hit another snag.

/bin/bash: ./jre-1_5_0_07-linux-i586-rpm.bin: /bin/sh: bad interpreter: Text file busy

Im not sure what it means, but it was after i typed:
Old 07-06-2006, 01:11 AM   #4
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
sh ./jre-1_5_0_07-linux-i586-rpm.bin

I thought was the command line in the instructions.
Old 07-06-2006, 08:42 AM   #5
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
A .bin file is a compiled binary program. No shell interpretation needed, as far as I know.

Just do
chown +x jre-1_5_0_07-linux-i586-rpm.bin #makes it executable
./jre-1_5_0_07-linux-i586-rpm.bin #runs it

This works for me...simple, no?


bin, java, script, shell

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
script #!/bin/bash, problem with space in file names existent Linux - General 3 06-17-2004 09:13 AM script to mount CD and run .bin file kulkarni08 Linux - General 2 06-24-2003 02:01 PM
Running a shell script via CGI-BIN chrisk5527 Linux - General 3 05-09-2003 12:44 PM
how to run a shell script which suffix is .bin??? yunxiang Linux - Software 2 05-05-2003 11:24 PM
Shell script does not recognize #!/bin/sh mmvaldez Programming 5 10-05-2001 10:26 AM

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration