Error on linux bin 1.1 installation

View: New views
7 Messages — Rating Filter:   Alert me  

Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

I am trying to install the jai on linux, but this checksum error is getting me nuts. I am using the command  wget http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-i586-jre.bin
to download the file and then executing it. But after accepting the terms I get the following message every time

Unpacking...
tail: cannot open `+215' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

Does anyone have a clue what is wrong? Any help welcome... thanks Greg
[Message sent by forum member 'gregmartins' (gregmartins)]

http://forums.java.net/jive/thread.jspa?messageID=275905

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It looks similar to this issue:
https://jai-imageio-core.dev.java.net/issues/show_bug.cgi?id=171
[Message sent by forum member 'jxc' (jxc)]

http://forums.java.net/jive/thread.jspa?messageID=275908

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the reference.

I found a work around. Edit the *.bin with vi (or any other editor) end change the offending tail line adding the -n flag tail -n +125 [...] and comment the following section regarding the checksumming
[Message sent by forum member 'gregmartins' (gregmartins)]

http://forums.java.net/jive/thread.jspa?messageID=276654

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Slight typo here. It's "-n 215".
[Message sent by forum member 'tagayakal' (tagayakal)]

http://forums.java.net/jive/thread.jspa?messageID=280612

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I amended the tail line to tail -n +215 $0 > $outname
and commented out the checksumming test.
It ran but then gave a sting of messages like
file #0:  bad zipfile offset (local header sig):  42514
  (attempting to re-compensate)
file #0:  bad zipfile offset (local header sig):  42514
file #1:  bad zipfile offset (local header sig):  1166
  (attempting to re-compensate)
file #1:  bad zipfile offset (local header sig):  1166
file #2:  bad zipfile offset (local header sig):  44486

Anybody have a different experience?
(running on Ubuntu 8.04;  java jre 1.6.0.06)
[Message sent by forum member 'undecidable' (undecidable)]

http://forums.java.net/jive/thread.jspa?messageID=284661

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did 3 things differently, one (?) of which enabled it to work:
.  edited with nano -w -L -N
.  saved it under the same name, rather than change the name.
.  commented out fewer lines
[Message sent by forum member 'undecidable' (undecidable)]

http://forums.java.net/jive/thread.jspa?messageID=284917

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Error on linux bin 1.1 installation

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had the same problem with a different bin file on Ubuntu 8.04.1.
j2sdk1.4.2_04

Two changes did the trick.

"tail +466 $0 > $outname" <- changed to this -> "tail -n +466 $0 > $outname"

and

"if expr $sum1 != 06699 || expr $sum2 != 34967  ; then" <- changed to this -> if "expr $sum1 = 06699 || expr $sum2 != 34967  ; then"

It worked!
Hope it helps someone.
[Message sent by forum member 'nandox7' (nandox7)]

http://forums.java.net/jive/thread.jspa?messageID=286815

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price