H
Hoojx
I seem not able to run java/javac as non-root account. Root account is
working fine.
Using redhat 7.3, j2sdk-1.4.0
Any idea ?
Thanks.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------
declare -x CLASSPATH="/home/tomcat/j2sdk1.4.0/lib"
declare -x JAVA_HOME="/home/tomcat/j2sdk1.4.0"
declare -x
PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home/tomcat/j2sdk1.4.0/b
in"
tomcat@host [~/j2sdk1.4.0/bin]# ./java
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4006D6D6
Function=(null)+0x4006D6D6
Library=/lib/libc.so.6
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:870)
Dynamic libraries:
08048000-0804d000 r-xp 00000000 08:03 1048986
/home/tomcat/j2sdk1.4.0/bin/java
0804d000-0804e000 rw-p 00004000 08:03 1048986
/home/tomcat/j2sdk1.4.0/bin/java
40000000-40011000 r-xp 00000000 08:03 3653634 /lib/ld-2.2.93.so
40011000-40012000 rw-p 00010000 08:03 3653634 /lib/ld-2.2.93.so
40012000-40018000 r--s 00000000 08:03 4653238
/usr/lib/gconv/gconv-modules.cache
40018000-40019000 r--p 00000000 08:03 1294444
/usr/lib/locale/en_US.iso885915/LC_IDENTIFICATION
40019000-4001a000 r--p 00000000 08:03 1294445
/usr/lib/locale/en_US.iso885915/LC_MEASUREMENT
4001a000-4001b000 r--p 00000000 08:03 1294449
/usr/lib/locale/en_US.iso885915/LC_TELEPHONE
4001c000-40029000 r-xp 00000000 08:03 3653731 /lib/libpthread-0.10.so
40029000-4002c000 rw-p 0000d000 08:03 3653731 /lib/libpthread-0.10.so
4004c000-4004e000 r-xp 00000000 08:03 3653645 /lib/libdl-2.2.93.so
4004e000-4004f000 rw-p 00001000 08:03 3653645 /lib/libdl-2.2.93.so
4004f000-40164000 r-xp 00000000 08:03 3653641 /lib/libc-2.2.93.so
40164000-40169000 rw-p 00115000 08:03 3653641 /lib/libc-2.2.93.so
4016d000-40430000 r-xp 00000000 08:03 3391858
/home/tomcat/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40430000-40578000 rw-p 002c2000 08:03 3391858
/home/tomcat/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
4058c000-4059d000 r-xp 00000000 08:03 3653649 /lib/libnsl-2.2.93.so
4059d000-4059e000 rw-p 00010000 08:03 3653649 /lib/libnsl-2.2.93.so
405a0000-405d4000 r-xp 00000000 08:03 344273
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405d4000-405e0000 rw-p 00033000 08:03 344273
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405e2000-40602000 r-xp 00000000 08:03 3653728 /lib/libm-2.2.93.so
40602000-40603000 rw-p 00020000 08:03 3653728 /lib/libm-2.2.93.so
40603000-4060c000 r-xp 00000000 08:03 3703090
/home/tomcat/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
4060c000-4060d000 rw-p 00008000 08:03 3703090
/home/tomcat/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
4060d000-4061e000 r-xp 00000000 08:03 3391862
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libverify.so
4061e000-40620000 rw-p 00010000 08:03 3391862
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libverify.so
40620000-40641000 r-xp 00000000 08:03 3391863
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libjava.so
40641000-40643000 rw-p 00020000 08:03 3391863
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libjava.so
40644000-40658000 r-xp 00000000 08:03 3391865
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libzip.so
40658000-4065b000 rw-p 00013000 08:03 3391865
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libzip.so
4065b000-41cd3000 r--s 00000000 08:03 1180482
/home/tomcat/j2sdk1.4.0/jre/lib/rt.jar
41d15000-41d2c000 r--s 00000000 08:03 1180463
/home/tomcat/j2sdk1.4.0/jre/lib/sunrsasign.jar
41d2c000-41d9a000 r--s 00000000 08:03 1180465
/home/tomcat/j2sdk1.4.0/jre/lib/jsse.jar
41d9a000-41dad000 r--s 00000000 08:03 1180464
/home/tomcat/j2sdk1.4.0/jre/lib/jce.jar
41dad000-4202e000 r--s 00000000 08:03 1180480
/home/tomcat/j2sdk1.4.0/jre/lib/charsets.jar
440d6000-440d7000 r--p 00000000 08:03 1294382
/usr/lib/locale/en_US.iso885915/LC_ADDRESS
440d7000-440d8000 r--p 00000000 08:03 1294447
/usr/lib/locale/en_US.iso885915/LC_NAME
440d8000-440d9000 r--p 00000000 08:03 1294448
/usr/lib/locale/en_US.iso885915/LC_PAPER
440d9000-440da000 r--p 00000000 08:03 1310849
/usr/lib/locale/en_US.iso885915/LC_MESSAGES/SYS_LC_MESSAGES
4c160000-4c18c000 r--p 00000000 08:03 262196
/usr/lib/locale/en_US.iso885915/LC_CTYPE
Local Time = Wed Jan 28 12:02:29 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
# An error report file has been saved as hs_err_pid23198.log.
# Please refer to the file for further information.
#
Aborted (core dumped)
working fine.
Using redhat 7.3, j2sdk-1.4.0
Any idea ?
Thanks.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------
declare -x CLASSPATH="/home/tomcat/j2sdk1.4.0/lib"
declare -x JAVA_HOME="/home/tomcat/j2sdk1.4.0"
declare -x
PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home/tomcat/j2sdk1.4.0/b
in"
tomcat@host [~/j2sdk1.4.0/bin]# ./java
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4006D6D6
Function=(null)+0x4006D6D6
Library=/lib/libc.so.6
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:870)
Dynamic libraries:
08048000-0804d000 r-xp 00000000 08:03 1048986
/home/tomcat/j2sdk1.4.0/bin/java
0804d000-0804e000 rw-p 00004000 08:03 1048986
/home/tomcat/j2sdk1.4.0/bin/java
40000000-40011000 r-xp 00000000 08:03 3653634 /lib/ld-2.2.93.so
40011000-40012000 rw-p 00010000 08:03 3653634 /lib/ld-2.2.93.so
40012000-40018000 r--s 00000000 08:03 4653238
/usr/lib/gconv/gconv-modules.cache
40018000-40019000 r--p 00000000 08:03 1294444
/usr/lib/locale/en_US.iso885915/LC_IDENTIFICATION
40019000-4001a000 r--p 00000000 08:03 1294445
/usr/lib/locale/en_US.iso885915/LC_MEASUREMENT
4001a000-4001b000 r--p 00000000 08:03 1294449
/usr/lib/locale/en_US.iso885915/LC_TELEPHONE
4001c000-40029000 r-xp 00000000 08:03 3653731 /lib/libpthread-0.10.so
40029000-4002c000 rw-p 0000d000 08:03 3653731 /lib/libpthread-0.10.so
4004c000-4004e000 r-xp 00000000 08:03 3653645 /lib/libdl-2.2.93.so
4004e000-4004f000 rw-p 00001000 08:03 3653645 /lib/libdl-2.2.93.so
4004f000-40164000 r-xp 00000000 08:03 3653641 /lib/libc-2.2.93.so
40164000-40169000 rw-p 00115000 08:03 3653641 /lib/libc-2.2.93.so
4016d000-40430000 r-xp 00000000 08:03 3391858
/home/tomcat/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40430000-40578000 rw-p 002c2000 08:03 3391858
/home/tomcat/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
4058c000-4059d000 r-xp 00000000 08:03 3653649 /lib/libnsl-2.2.93.so
4059d000-4059e000 rw-p 00010000 08:03 3653649 /lib/libnsl-2.2.93.so
405a0000-405d4000 r-xp 00000000 08:03 344273
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405d4000-405e0000 rw-p 00033000 08:03 344273
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
405e2000-40602000 r-xp 00000000 08:03 3653728 /lib/libm-2.2.93.so
40602000-40603000 rw-p 00020000 08:03 3653728 /lib/libm-2.2.93.so
40603000-4060c000 r-xp 00000000 08:03 3703090
/home/tomcat/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
4060c000-4060d000 rw-p 00008000 08:03 3703090
/home/tomcat/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
4060d000-4061e000 r-xp 00000000 08:03 3391862
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libverify.so
4061e000-40620000 rw-p 00010000 08:03 3391862
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libverify.so
40620000-40641000 r-xp 00000000 08:03 3391863
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libjava.so
40641000-40643000 rw-p 00020000 08:03 3391863
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libjava.so
40644000-40658000 r-xp 00000000 08:03 3391865
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libzip.so
40658000-4065b000 rw-p 00013000 08:03 3391865
/home/tomcat/j2sdk1.4.0/jre/lib/i386/libzip.so
4065b000-41cd3000 r--s 00000000 08:03 1180482
/home/tomcat/j2sdk1.4.0/jre/lib/rt.jar
41d15000-41d2c000 r--s 00000000 08:03 1180463
/home/tomcat/j2sdk1.4.0/jre/lib/sunrsasign.jar
41d2c000-41d9a000 r--s 00000000 08:03 1180465
/home/tomcat/j2sdk1.4.0/jre/lib/jsse.jar
41d9a000-41dad000 r--s 00000000 08:03 1180464
/home/tomcat/j2sdk1.4.0/jre/lib/jce.jar
41dad000-4202e000 r--s 00000000 08:03 1180480
/home/tomcat/j2sdk1.4.0/jre/lib/charsets.jar
440d6000-440d7000 r--p 00000000 08:03 1294382
/usr/lib/locale/en_US.iso885915/LC_ADDRESS
440d7000-440d8000 r--p 00000000 08:03 1294447
/usr/lib/locale/en_US.iso885915/LC_NAME
440d8000-440d9000 r--p 00000000 08:03 1294448
/usr/lib/locale/en_US.iso885915/LC_PAPER
440d9000-440da000 r--p 00000000 08:03 1310849
/usr/lib/locale/en_US.iso885915/LC_MESSAGES/SYS_LC_MESSAGES
4c160000-4c18c000 r--p 00000000 08:03 262196
/usr/lib/locale/en_US.iso885915/LC_CTYPE
Local Time = Wed Jan 28 12:02:29 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
# An error report file has been saved as hs_err_pid23198.log.
# Please refer to the file for further information.
#
Aborted (core dumped)