I had this problem a week ago. The problem is that Red Hat Linux 5.0 need
the updated glibc-2.07.13 library. Please download from
ftp://ftp.redhat.com/pub/redhat/RedHat 5.0/updates/. Also, from my
personal experience, use tar.gz package instead of rpm package. After
applying the newer glibc a
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.