Hello.

I downloaded the JDK1.1.6v1(glibc)  and installed on my Red Hat Linux 5.0.
But when I try to compile the "HelloWorld " program:

javac HelloWorldApp.java

class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); //Display the string.
    }
}

"Segement fault" appears. If I try to run the byte code
javac HelloWorldApp (which is downloaded from the web).
The following err message pops up.

SIGSEGV   11*  segmentation violation

Full thread dump:
Monitor Cache Dump:
Registered Monitor Dump:
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
    Monitor registry: <unowned>
Thread Alarm Q:
Abort

What is the reason for this? Your help is greatly appreciated.

I am running Pentium 200 MMX with 32 MB. The OS is red hat 5.0.

ls -l /lib/libc.so.* gives me
lrwxrwxrwx   1 root     root           
13 Jan 20 10:39 /lib/libc.so.6 -> libc-2.0.5.so*

ls /lib/libc.so.* gives me
/lib/libc.so.6@

ls -l /lib/libdl.so.* gives me
lrwxrwxrwx   1 root     root           14 Jan 20 10:45 /lib/libdl.so.1 -> 
libdl.so.1.9.5*
-rwxr-xr-x   1 root     root         5412 Oct 21  1997 /lib/libdl.so.1.9.5*
lrwxrwxrwx   1 root     root           14 Jan 20 10:39 /lib/libdl.so.2 -> 
libdl-2.0.5.so*




Reply via email to