Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

wrong ELF class: ELFCLASS64

I am setting up a new build engine for RTC on a Red Hat linux virtual machine. When I try to start the jbe, I get the following error in the log:

Jbe:
JVM terminated. Exit code=-1
-Dosgi.requiredJavaVersion=1.5
-Djava.class.path=/home/buildvm2/jazz/buildsystem/buildengine/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/buildvm2/jazz/buildsystem/buildengine/eclipse/jbe
-name Jbe
--launcher.library /home/buildvm2/jazz/buildsystem/buildengine/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
-startup /home/buildvm2/jazz/buildsystem/buildengine/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-repository https://xxxxxxxxxxxxxxxxxxxx/jazz
-engineId buildvm2
-userId xxxxxx@xx.xxx.com
-passwordFile /etc/build/bedrock.info
-sleeptime 30
-vm /usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.2.x86_64/jre/bin/j9vm/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Djava.class.path=/home/buildvm2/jazz/buildsystem/buildengine/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.2.x86_64/jre/bin/j9vm/libjvm.so: wrong ELF class: ELFCLASS64


cat /proc/version
Linux version 2.6.32-131.6.1.el6.x86_64 (mockbuild@x86-001.build.bos.redhat.com) (gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) ) #1 SMP Mon Jun 20 14:15:38 EDT 2011

Any ideas on how to get this running?
Thanks in advance.
David Bruton

0 votes



One answer

Permanent link
replying to my own post...
after playing with this some, I discovered that if I passed in the
-vm parm as shown below that the jbe was able to start running.

-vm /usr/bin/java

Not sure why this was necessary but I noticed that the -vm parm was defaulting to the value above on another build machine that was working.

1 vote

Comments

 Thank you for your reply. Save me a lot of time.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 09 '11, 9:29 a.m.

Question was seen: 8,579 times

Last updated: May 09 '16, 8:27 p.m.

Confirmation Cancel Confirm