LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shell Script? .Bin file? (http://www.linuxquestions.org/questions/linux-newbie-8/shell-script-bin-file-461359/)

DarkHorse528 07-05-2006 09:45 PM

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!

DrOzz 07-05-2006 09:53 PM

there was a link right directly next to the download button you clicked to get the java install, the button said "Instructions"

DarkHorse528 07-05-2006 10:14 PM

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

nilleso 07-06-2006 12:11 AM

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

I thought was the command line in the instructions.

timmeke 07-06-2006 07:42 AM

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?


All times are GMT -5. The time now is 09:47 PM.