Re: Troubling getting JDK1.1.6v2 to work

1998-06-29 Thread 49WANG


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 and installing the jdk1.1.6, you can reboot your 
machine.

Hope it helps.

Feng Wang
Catholic University of America
  

On Mon, 29 Jun 1998, J. Robert Buchanan wrote:

> Hello,
> 
>   I installed the jdk1.1.6 package on my RedHat Linux 5.0 system
> (installed originally from the RedHat CD's). When I try to run "java"
> I get a segmentation violation error like this:
> 
> banach.millersv.edu.buchanan> java -v webeq.wizard.Wizard
> SIGSEGV   11*  segmentation violation
> 
> Full thread dump:
> Monitor Cache Dump:
> Registered Monitor Dump:
> Monitor IO lock: 
> Child death monitor: 
> Event monitor: 
> I/O monitor: 
> Alarm monitor: 
> Monitor registry: 
> Thread Alarm Q:
> Abort (core dumped)
> banach.millersv.edu.buchanan> 
> 
> I took a look at the mailing list archive and saw a very similar
> problem reported just yesterday. Reading a bit further down the
> archive, I saw that someone suggested deleting JDK's libdl. When I did
> that (actually I just renamed it), I still got the segmentation
> violation. Does anyone have any suggestions? I would really like to
> get this to work. What information should I be gathering to diagnose
> and fix the problem?
> 
> Thanks,
> Bob Buchanan ([EMAIL PROTECTED])
> Phone: 717-872-3659, FAX: 717-871-2320, http://www.millersv.edu/~jbuchana
> Mathematics Dept. Millersville University
> P.O. Box 1002, Millersville, PA 17551-0302
> 
> 




Installation problem

1998-06-19 Thread 49WANG



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: 
Child death monitor: 
Event monitor: 
I/O monitor: 
Alarm monitor: 
Monitor registry: 
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*