I installed JDK-1.2 on my computer
RH 6.0

the script .java_wraper from the archive didn't work on my comupter so I
did one for myself.

-----
my-java-wraper

#!/bin/sh

HOME=/usr/local/jdk1.2
JRE=/usr/local/jdk1.2/jre

LD_PRELOAD=/usr/lib/libstdc++-libc6.1-1.so.2
LD_LIBRARY_PATH=$JRE/lib/i386/green_threads:$JRE/lib/i386/classic:$JRE/lib/i386
APPHOME=$HOME
_JVM_THREADS_TYPE=green_threads
PPC_JAVA_HOME=/usr/local/jdk1.2/include/linux
THREADS_FLAG=green

export LD_PRELOAD LD_LIBRARY_PATH APPHOME _JVM_THREADS_TYPE PPC_JAVA_HOME
export THREADS_FLAG

prog=$HOME/bin/i386/green_threads/javac

exec "$prog" "$@"

end----@-----

I tryed to compile the HelloWorld program

--------
HelloWorld.java

public class HelloWorld 
{
        public static void main(String args[])
        {
                System.out.println("Hello World");
        }
}

end-----@----

I tryed 
my-java-wraper HelloWorld.java
and look what I've got:

javac: ../../../../../src/linux/hpi/green_threads/src/dl-malloc.c:1257: 
do_check_inuse_chunk: Assertion `((((mchunkptr)(((char*)(p))+((p)->size & 
~0x1)))->size) & 0x1)' failed.
SIGABRT   6*   abort (generated by abort(3) routine)
        stackpointer=0xbffff7f4
OUCH: nested memory code, to 1 levels.


Somebody who can help me there ?





----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to