TIBCO ActiveMatrix® Adapter for Siebel throws the error "java.lang.UnsupportedClassVersionError: Bad version number in .class file".

TIBCO ActiveMatrix® Adapter for Siebel throws the error "java.lang.UnsupportedClassVersionError: Bad version number in .class file".

book

Article ID: KB0094233

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Siebel -
Not Applicable -

Description

Resolution:
Description:
=========
When TIBCO ActiveMatrix® Adapter for Siebel is starting up, it throws error “java.lang.UnsupportedClassVersionError: Bad version number in .class file”.

Environment:
==========
All Platforms


Resolution:
=========

This error occurs usually because the Siebel Java Data Bean is compiled and packaged with a JRE version higher than the JRE where the adapter is running.

If the JRE version bundled with TRA is lower than the JRE version which the Siebel Java Data Bean is compiled and packaged with, the JRE version in TRA needs to be upgraded to the same with JRE version which Siebel Java Data Bean is using.

Example, TRA 5.6.0 and 5.6.1 bundle with JRE 1.5, but TRA 5.6.2 bundles with JRE 1.6. If you install TRA 5.6.2 but your Siebel Java Data Bean is compiled and packaged with JRE 1.6, then you need to make some changes in adsbl.tra file as follows:

********************************
Make sure the following properties in the adswlb.tra points to the correct 1.6 jvm path
e.g.,

tibco.env.JVM_LIB_DIR D:/tibco/jre/1.6.0/bin
tibco.env.JVM_LIB_PATH D:/tibco/jre/1.6.0/bin/client/jvm.dll
tibco.env.TIB_JAVA_HOME D:/tibco/jre/1.6.0
********************************

Issue/Introduction

TIBCO ActiveMatrix® Adapter for Siebel throws the error "java.lang.UnsupportedClassVersionError: Bad version number in .class file".