[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Java JDK(JRE)-1.3.1 from Compaq on FC2 Alpha



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
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
__pid_t
__libc_wait (__WAIT_STATUS_DEFN stat_loc)
{
  return __waitpid (WAIT_ANY, (int *) stat_loc, 0);
}

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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]