Hi, I am new to Java on Linux. I am facing the below problem while trying to compile the java program on Linux. I have Redhat 7.0 on on x86. I get a SIGSEGV, segmentation fault while trying to compile any java program. I installed the jdk 1.1.8v3 in /usr/local. I added the path /usr/local/jdk118_v3/bin to my PATH environment variable. Upon trying to compile the program under demo directory- Animator.java, I received a segmentation fault. Please let me know if anything needs to be done.
Below is the output of the compilation -- +++++++++++++++++++++++++++++++++++++++++ SIGSEGV 11* segmentation violation stackbase=(nil), stackpointer=(nil) Full thread dump: NULL (TID:0x403de0b0, sys_thread_t:0x8083908, state:R) prio=5 *current thread* java.lang.System.nullInputStream(System.java) java.lang.System.<clinit>(System.java) java.lang.String.getChars(String.java) java.lang.StringBuffer.append(StringBuffer.java) java.lang.StringBuffer.<init>(StringBuffer.java) java.lang.Thread.<init>(Thread.java) Monitor Cache Dump: java.lang.Class@1077796952/1079897232: owner NULL (0x8083908, 1 entry) java.lang.StringBuffer@1077797224/1079897120: owner NULL (0x8083908, 1 entry) Registered Monitor Dump: Thread queue lock: <unowned> Name and type hash table lock: <unowned> String intern lock: <unowned> JNI pinning lock: <unowned> JNI global reference lock: <unowned> BinClass lock: <unowned> Class loading lock: <unowned> Java stack lock: <unowned> Code rewrite lock: <unowned> Heap lock: <unowned> Has finalization queue lock: <unowned> Finalize me queue lock: <unowned> Dynamic loading lock: owner NULL (0x8083908, 1 entry) Monitor IO lock: <unowned> Child death monitor: <unowned> Event monitor: <unowned> I/O monitor: <unowned> Alarm monitor: <unowned> Monitor registry: owner NULL (0x8083908, 1 entry) Thread Alarm Q: /usr/local/jdk118_v3/demo/Animator/../../bin/../bin/i686/green_threads/javac: line 13: 1354 Aborted (core dumped) `dirname $0`/${progname} $RUNTIME_ARGS -ms8m $RUNTIME_ARGS sun.tools.javac.Main $APP_ARGS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ****************************************************************************************