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
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
One answer
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.
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.