Two Laptop Bag*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark ""cannot execute binary file" when install j2sdk" Watch ""cannot execute binary file" when install j2sdk" New topic
Author

"cannot execute binary file" when install j2sdk

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
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:

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

Any ideas? Thanks.


BJ - SCJP and SCWCD
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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

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 ]

http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "cannot execute binary file" when install j2sdk
 
Similar Threads
Unusual Linux + JRE
Having some problem with redhat installation
new to java and linux
which java sdk?
Build JDK 1.4.2 on Linux