Search code examples
tibco-business-workstibco-designer

Custom Function Unsupported major.minor version 51.0 TIBCO Designer 5.7


I am using TIBCO Designer 5.7.

In the Mapper pallet of my Designer code, I am using a Custom Java Function "Utilities", but while using it it is giving me an error saying "Custom Function Utilities: Unsupported major.minor version 51.0".In the XPath section it is saying "no such function". I assume this is because of incompatibility of TIBCO's Java with my Java JDK. Can someone explain in detail how to resolve this issue?

Please refer to the image for the error.

error


Solution

  • Hi I am able to resolve it via below steps:- 1) Go to the folder where your Custom java class is stored, in my case it is "Utilities.java" custom class.java

    2) Now we will create a .class file for this class USING the TIBCO’s java, not our own local installed java jre, as the new .class file will be of TIBCO’s, for this Go to your TIBCO_HOME>tibcojre64>1.6.0>bin, Run CMD there and give the commandad below:- command to create .class file

    This will create a Utilities.class file in the same folder

    3) Now create a Custom Java function in Designer and refer this .class file.

    java custom function

    4) Now Load-> Apply-> save the project and Restart your designer. The error will be gone