IBM Support

Maximo Mobile Will Not Launch After Making A Class File Change

Troubleshooting


Problem

After customizing a mobile class file Maximo Mobile will not launch

Symptom

Looking in the mobile log file I see this error


Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.lang.reflect.AccessibleObject.invokeV(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.tivoli.maximo.mobile.Bootstrap.main(Unknown Source)
Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/mro/mobile/ui/res/widgets/zaval/WinMessageBoxAdapterImpl, offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)

Cause

This is caused by the class file being compiled with a incompatible version of Java. For Maximo Mobile you need to use JDK 1.3

Resolving The Problem

Recompile the file using Java level 1.3

[{"Product":{"code":"SSMAZG","label":"Maximo Mobile Suite"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF034","label":"Windows Mobile"},{"code":"PF003","label":"Android"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21688238