cancel
Showing results for 
Search instead for 
Did you mean: 

wrong ELF class: ELFCLASS64

Former Member
0 Kudos

Hi guys,

We're experiencing the following problem:

Installing NWDI on a new RHEL 5 machine. On the JCE prompt screen we

get the following error:

"INFO 2010-06-01 21:06:47.902 (syuxcpath.cpp:351)

CSyPath::createFile()

Creating file /tmp/sapinst_instdir/NW701/AS-

JAVA/ORA/CENTRAL/90000125.log.

INFO 2010-06-01 21:06:47.905

CJSlibModule::writeInfo_impl()

Output of /usr/lib/jvm/java-1.4.2-ibm/bin/jar is written to the logfile

90000125.log.

INFO 2010-06-01 21:06:47.909

CJSlibModule::writeInfo_impl()

Output of /usr/lib/jvm/java-1.4.2-ibm/bin/jar

tf /sapmedia/JCEPOLZIP/90000125.ZIP:

Error loading: /usr/lib/jvm/java-1.4.2-ibm-

1.4.2.13.4/jre/bin/classic/libjvm.so: wrong ELF class: ELFCLASS64 -

/usr/lib/jvm/java-1.4.2-ibm-1.4.2.13.4/jre/bin/classic/libjvm.so:

wrong ELF class: ELFCLASS64

WARNING 2010-06-01 21:06:47.911

CJSlibModule::writeWarning_impl()

Execution of the command "/usr/lib/jvm/java-1.4.2-ibm/bin/jar

tf /sapmedia/JCEPOLZIP/90000125.ZIP" finished with return code 1.

Output:

Error loading: /usr/lib/jvm/java-1.4.2-ibm-

1.4.2.13.4/jre/bin/classic/libjvm.so: wrong ELF class: ELFCLASS64 -

/usr/lib/jvm/java-1.4.2-ibm-1.4.2.13.4/jre/bin/classic/libjvm.so:

wrong ELF class: ELFCLASS64"

JDK implemented on the machine is:

java-1.4.2-ibm-1.4.2.13.4-1jpp.1.el5.x86_64.rpm

java-1.4.2-ibm-devel-1.4.2.13.4-1jpp.1.el5.i386.rpm

Please find relevant logs here:

http://www.4shared.com/file/QEyqQvbw/sapinstlogs.html

Any ideas?

Thank you!

__

Bruno Pereira

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> JDK implemented on the machine is:

> java-1.4.2-ibm-1.4.2.13.4-1jpp.1.el5.x86_64.rpm

> java-1.4.2-ibm-devel-1.4.2.13.4-1jpp.1.el5.i386.rpm

So you have the Java runtime in 64bit but the Java development kit only in 32bit. Install the ibm-devel for x86_64.

Markus

Former Member
0 Kudos

Thank you very much for your help!

I'd been trying to get around this error since yesterday and couldn't really figure it out!

It's always the simplest of things!

I'll repeat the installation and get back to you as soon as possible, let's hope I don't run into any more problems!

Thank you once again.

__

Bruno Pereira

Answers (2)

Answers (2)

nelis
Active Contributor
0 Kudos

Oops, too slow

nelis
Active Contributor
0 Kudos

JDK implemented on the machine is:

java-1.4.2-ibm-1.4.2.13.4-1jpp.1.el5.x86_64.rpm

java-1.4.2-ibm-devel-1.4.2.13.4-1jpp.1.el5.i386.rpm

Looks like you are using a 32bit SDK with a 64bit JRE which is why you are getting that error. Install a 64bit SDK too(java-1.4.2-ibm-devel-1.4.2.13.4-1jpp.1.el5.x86_64.rpm).

Nelis