The moose likes Linux / UNIX and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark ""cannot execute binary file" when install j2sdk" Watch ""cannot execute binary file" when install j2sdk" New topic

"cannot execute binary file" when install j2sdk

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 672
I downloaded j2sdk-1_4_2_08-linux-i586.bin and did

1. chmod +x j2sdk-1_4_2_08-linux-i586.bin
2. ./j2sdk-1_4_2_08-linux-i586.bin

I got this:

./j2sdk-1_4_2_08-linux-i586.bin: line 395: ./install.sfx.25738: cannot execute binary file

Any ideas? Thanks.

We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Perhaps the download went bad and the file was corrupted. It would be nice if Sun provided checksums for their downloadable files, but they don't. About all you can do is try downloading again.

[Jess in Action][AskingGoodQuestions]
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Doesn't the ftp-Protokoll check itself for the correctness of transmission, and aren't the md5sums for instance used to verify, it wasn't corrupted on the server?

Did you receive a 34.73 MB file?

I have a j2sdk-1_4_2_08-linux-i586.bin file here laying around.

results in:
e35832af75e963a58119d2344a5a37c0 j2sdk-1_4_2_08-linux-i586.bin
[ June 28, 2005: Message edited by: Stefan Wagner ]
I agree. Here's the link:
subject: "cannot execute binary file" when install j2sdk
It's not a secret anymore!