Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running a 32-bit JVM on an x86-64 arch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
plegault
n00b
n00b


Joined: 30 Jan 2004
Posts: 36

PostPosted: Wed Feb 11, 2004 7:14 pm    Post subject: Running a 32-bit JVM on an x86-64 arch Reply with quote

Hi,

I have a dual Opteron on which I'd like to run a 32-bit version of the Sun 1.4.2 JVM... I've been trying to install their 32-bit "bin" file (obtained from their site) but I get the following error:

-----------------------------------------------------
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./j2sdk-1_4_2_03-linux-i586.bin: line 325: [: -lt: unary operator expected
Unpacking...
tail: cannot open `+473' 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.
------------------------------------------------------

Anybody know what this is about?

Thanks,
Phil
Back to top
View user's profile Send private message
sancho
n00b
n00b


Joined: 14 Apr 2003
Posts: 19

PostPosted: Fri Feb 13, 2004 11:33 pm    Post subject: Reply with quote

i encoutered that problem a couple weeks ago. at some point the coreutils version of "tail" changed its behavior to become POSIX compliant. and tail -n no longer works, but sun's build scripts still use it.

i can't remember exactly how i solved this. but what you can do is read the tail man page, and figure out how to tail the last line from the sun .bin file to a new file. make that file executable, and then run it.

the drawback is you don't get the checksum detection and interactive license acknowledgement build into the .bin file.

if this is not descriptive enough, let me know.

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum