Hi all,
 
Did anyone try to create JVM in RedHat 7.0 platform. I have no problem running my JVM in RedHat 6.1 and 6.2. But it gives me error as following, and the terminal hang there. JVM not supported in RedHat 7.0? How to solve it?
 
..............
..............
[Registering JNI native method java/lang/Class.getConstructor0]
[Registering JNI native method java/lang/Class.getProtectionDomain0]
[Registering JNI native method java/lang/Class.setProtectionDomain0]
[Registering JNI native method java/lang/Class.getDeclaredClasses0]
[Registering JNI native method java/lang/Class.getDeclaringClass]
[Dynamic-linking native method java/io/ObjectStreamClass.initNative ... JNI]
[Dynamic-linking native method java/lang/System.registerNatives ... JNI]
[Registering JNI native method java/lang/System.currentTimeMillis]
[Registering JNI native method java/lang/System.arraycopy]
[Dynamic-linking native method java/security/AccessController.getStackAccessControlContext ... JNI]
[Dynamic-linking native method Java/security/AccessController.getInheritedAccessControlContext ... JNI]
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid: 0]
stackpointer=0xbffff354
 
 
p/s: The following is how I compile my program arrayofc.c

[root@localhost jvm]# gcc -D_REENTRANT -D_GNU_SOURCE -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux -c -o arrayofc.o arrayofc.c

[root@localhost jvm]# gcc -o arrayofc arrayofc.o -L/usr/java/jdk1.3/jre/lib/i386/classic -L/usr/java/jdk1.3/jre/lib/i386/native_threads -L/usr/java/jdk1.3/jre/lib/i386/ -ljvm -lhpi

[root@localhost jvm]# LD_LIBRARY_PATH=/usr/java/jdk1.3/jre/lib/i386/classic:/usr/java/jdk1.3/jre/lib/i386/native_threads:/usr/java/jdk1.3/jre/lib/i386 ./arrayofc

 

Thank you

soonho

Reply via email to