Wow, Peter...
Well, I downloaded 4 versions of java inc the 1.2 beta 3 version.
even with the iBSC2 module installed it still complained about
corruption. The best pace to get it from was
http://www.blackdown.org (the libc5 version 7) thats what I've been
using, it works ok but linux 'wine' complains about a k32obj.c
and it core dumps.
You can get by the solaris problem, just remove the
install script at the start of the file and save it when you get to
the tar'ed compressed bit.
run
tar -xvzf <tar file>
and it unrapps before your eyes, but you won't be able to compile
or run the appletviewer however much you try.
Good luck
Matt