[indiana-discuss] installing java re fails using bash due to problems with /usr/bin/sum
Qingye Jiang (John)
John.Jiang at Sun.COM
Mon Nov 26 09:57:19 PST 2007
I tried installing JDK 6 without any problem. Also, NetBeans 6.0 Beta 2
works out of the box.
("`-''-/").___..--''"`-._ Qingye Jiang (John)
`6_ 6 ) `-. ( ).`-.__.`) Senior Manager
(_Y_.)' ._ ) `._ `. ``-..- Sun Developer Network, China
_..`--'_..-_/ /--'_.' ,' Phone: +86-10-62673347
(il),-'' (li),' ((!.-' http://developers.sun.com.cn/
--------------------------------------------------------------------
About ME: visit http://www.qyjohn.net/, http://calendar.qyjohn.net/.
About US: visit http://wiki.gceclub.sun.com.cn/index.php/SDN_China .
james hughes 写道:
> I was able to download and install this (as a user, not root) and I
> did not have this problem. I did execute it as "sh ./filename.sh"
>
> On Nov 26, 2007, at 9:40 AM, Alexander Stecker wrote:
>
>
>> hi,
>>
>> i've tried to install the latest jre from java.com. following the
>> instructions i get an error when i execute the .sh file:
>>
>> Do you agree to the above license terms? [yes or no]
>> yes
>> Unpacking...
>> Checksumming...
>> 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.
>> #
>>
>> i've verified the md5sum of the file and it's correct. the installer
>> uses /usr/bin/sum to calculate the checksums. the problem is: if /
>> usr/bin/sum is executed from the bash shell, it seems as sum uses
>> the parameter -r (BSD style) as default parameter, which produces
>> different checksums then sum used with parameter -s (System V
>> style). the java installer expects the System V style checksums and
>> stops at this point. workarounds are: execute the installer .sh
>> using ksh oder rename /usr/bin/sum, so the installer won't find it
>> (and proceeds anyway).
>> --
>>
>> This message posted from opensolaris.org
>>
>> _______________________________________________
>> indiana-discuss mailing list
>> indiana-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>
>
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
More information about the indiana-discuss
mailing list