LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-05-2006, 09:45 PM   #1
DarkHorse528
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, 09:53 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
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, 10:14 PM   #3
DarkHorse528
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:
./jre-1_5_0_07-linux-i586-rpm.bin
 
Old 07-06-2006, 12:11 AM   #4
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

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

I thought was the command line in the instructions.
 
Old 07-06-2006, 07:42 AM   #5
timmeke
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?
 
  


Reply

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


All times are GMT -5. The time now is 06:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration