Java 2 SDK problem under Redhat 7.0

I'm using RedHat Linux 7.0 (kenerl 2.2.16.22, libc-2.1.92.so).

I downloaded Java 2 SDK v 1.2.2_008 for Linux from sun.java.com, and installed it to /usr/local/jdk1.2.2

However, I couldn't run any Java command. When I try to compile any java source code, for example:

/usr/local/jdk1.2.2/bin/javac HelloWorldApp.java

I always get error message:

Segmentation fault (core dumped)

Please give me some idea as soon as possible.

Thank you for your help!

Attach: HelloWorldApp.java

Class HelloWorldApp {

public static void main(String[] args) [

System.out.println("Hello World!");

}

}

Tony T.

[717 byte] By [idIaZaN6] at [2007-9-26 2:05:25]
# 1
update your kernel, redhat 7.0 is full of bad links and missing links
xtardxcorex at 2007-6-29 8:50:25 > top of Java-index,Desktop,Deploying...