Hi,
I had the same problem. I found this wonderful site:
http://cymulacrum.net/writings/java/ibm-java.html
And somewhere in that I found a clue that told me to turn off the Just In Time (JIT) compiler. I forget how to do that -- see the IBM Java2 docs, I believe -- but once I did I got Java working. Here's my java version:
$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT disabled))
Output from uname -a:
$ uname -a
Linux name.domain.net 2.6.8-1.521smp #1 SMP Mon Aug 16 09:25:06 EDT 2004 i686 i686 i386 GNU/Linux
Take care,
Kurt Hansen khansen@xxxxxxxxxxxxxx Daniel Ulfe wrote:
Hello. I installe IBMJava2 (1.4.2 and 1.3.1 .rpm versions downloaded from IBM Java site) with all available Fedora Core 2 updates and have this messager errors:
cd /opt/IBMJava2-142 bin/java -version
JVMDG080: Cannot find class com/ibm/jvm/Trace JVMXM012: Error occurred in final diagnostics initialization Could not create the Java virtual machine.
cd /opt/IBMJava2-131 bin/java -version
JVMDG080: Cannot find class com/ibm/jvm/Trace Error occurred in diagnostics initialization(2) Could not create the Java virtual machine.
uname -a
Linux name.domain.com 2.6.8-1.521smp #1 SMP Mon Aug 16 09:25:06 EDT 2004 i686 i686 i386 GNU/Linux ---------------------------------------------------------------------------------------------------------------------------------------
If I boot Fedora Core 2 with kernel 2.6.7-1.494.2.2smp or below, no problem occurs
cd /opt/IBMJava2-142 bin/java -version
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT enabled: jitc))
same for 1.3.1 version
cd /opt/IBMJava2-131 bin/java -version
java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20040527a (JIT enabled: jitc))
Any idea?
Regards
Daniel