JDK and RH7

JDK and RH7

Post by wednesday082.. » Thu, 02 Nov 2000 20:27:37



Hi, everyone  I have replace my RH6 server with a new RH7 but my jdk packages
that I ever installed with RH6 is not work with RH7, The lastest version from
sun is also not work, what 's the mistake?  The symptom is that all java
utility (ie. java, javac, jar, ...) is always say 'Segmentation fault' and
core file is generated.

Thank for any suggestion.
Annop

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

JDK and RH7

Post by marti » Thu, 02 Nov 2000 21:56:10


I think RedHat have released a new (fixed) glibc RPM to fix this and many
other problems...

http://www.redhat.com/support/errata/RHBA-2000-079-04.html

Cheers,
Martin.


Quote:> Hi, everyone  I have replace my RH6 server with a new RH7 but my jdk
packages
> that I ever installed with RH6 is not work with RH7, The lastest version
from
> sun is also not work, what 's the mistake?  The symptom is that all java
> utility (ie. java, javac, jar, ...) is always say 'Segmentation fault' and
> core file is generated.

> Thank for any suggestion.
> Annop

> Sent via Deja.com http://www.deja.com/
> Before you buy.


 
 
 

JDK and RH7

Post by Peter T. Breue » Thu, 02 Nov 2000 21:47:02


: Hi, everyone  I have replace my RH6 server with a new RH7 but my jdk packages
: that I ever installed with RH6 is not work with RH7, The lastest version from
: sun is also not work, what 's the mistake?  The symptom is that all java
: utility (ie. java, javac, jar, ...) is always say 'Segmentation fault' and
: core file is generated.

As far as I can see, redhat 7.0 has been compiled with a "rogue" gcc
2.9.6 compiler whose release is disapproved by the gcc members (for
chapter and verse, see their recent announcements in c.o.l.a). It
produces code that is largely incompatible with code compiled by other
compilers, in particular 2.7.2, 2.8.1, 2.9.5. (I can't run C
executables compiled with gcc 2.8.1 on it). It doesn't surprsie me that
java compiled elsewhere doesn't work either. It surprises me more that
it gets as far as segfaulting.

Peter

 
 
 

1. Install jdk fail in RH7.3

Dear all,

I need a help now, I am a beginner of using java and i want to install
the j2skd version 1.4.0_03 at Red Hat Linux7.3.  After I had installed
(install path: /usr/java/ and it will auto create a folder called
j2sdk1.4.0_03 inside this path)and setting the environment of
java_home.  And as the follows:

#.bash_profile
#User specific environment and startup programs
JAVA_HOME=/usr/java/j2sdk1.4.0_03
CLASSPATH=/usr/java/j2sdk1.4.0_03/lib:/usr/java/j2sdk1.4.0_03/jre/lib
PATH=.:$HOME/bin:/usr/java/j2sdk1.4.0_03/bin:/usr/java/j2sdk1.4.0_03/jre/bin:$PATH
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV JAVA_HOME CLASSPATH PATH

I try to compile my simple java program--called 'Test.java'.  It did
compiled successfully and have a 'Test.class' file.  But I cannot run
it by typing 'java Test' and display the following message:
Exception in thread "main" java.lang.NoClassDefFoundError: Test

Then I try to run the demo folder's simple java program.  The error
display again.  Why??  It's my fault of setting the wrong classpath??
Can somebodies help me??

Thanks and Regards,
Hello

2. sed replacement of non-standard characters

3. Matrox Mystique ands X.

4. how to unsubscribe

5. IBM JDK on FreeBSD (Was: JDK 1.3.1 on Freebsd?)

6. DoS attack generated from our server - help

7. FreeBSD 4.6, JDK 1.4.0, Blackdown JDK 1.3.1, running Tomcat 4.0.

8. Resolution and bit depth

9. JDK Documentation ports for JDK 1.1, 1.2, 1.3 and 1.4

10. Upgraded port: Blackdown JDK 1.2.2 for Linux (java/linux-jdk)

11. ports/28183: JDK Documentation ports for JDK 1.1, 1.2, 1.3 and 1.4

12. Setting env variables for Sun JDK and IBM JDK on a same Linux Server

13. Native JDK or Linux JDK 1.4 in Jail?