Java JDK(JRE)-1.3.1 from Compaq on FC2 Alpha
Andrija Pantovic
andrija.pantovic at ubs.com
Thu Aug 19 07:48:49 UTC 2004
Hello,
Here is a workarround for Java 1.3.1 from HP/Compaq/DEC that helps it working
(you need to have latest glibc otherwise java crashes with segfault):
- compile the attached file: # gcc -O2 -shared -o libcwait.so -fpic -c
libcwait.c
- copy libcwait.so to a proper place (/usr/local/lib for instance)
- put the following in the beginning of your /usr/java/jdk1.3.1/bin/java
(or /usr/java/jre1.3.1/bin/java) or elsewhere depending on your needs:
LD_ASSUME_KERNEL=2.4.19
LD_PRELOAD=/usr/local/lib/libcwait.so
export LD_ASSUME_KERNEL LD_PRELOAD
So now we have Java available on FC2 for Alpha ! Java 1.3.1 from HP is already
quite old and quite slow but is the best (and only) currently available on
Linux/Alpha at the moment (I'd like so very much if somebody tells me I am
wrong and if there is some work going on with newer Java releases for
Linux/Alpha)
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcwait.c
Type: text/x-csrc
Size: 196 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/axp-list/attachments/20040819/309a98fd/attachment.bin>
-------------- next part --------------
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the axp-list
mailing list