Upgrade failed with "Bad version number in .class file occurred"
Revise paths to resolve "bad version number" upgrade errors.
When attempting to install the Data Model, the following error occurs:
Exception java.lang.UnsupportedClassVersionError: Bad version number in .class file occurred.
java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method)
To address this error :
- Source the environment with the path to the Java Development Kit (JDK) 1.8 location.
- Use a new Data Model Home instead of the old 8.0.x "Data Model Home" folder.
- Create a new Home for "Data Management Assembly" and "Middle-Tier" Upgrade as well.
Parent topic: Troubleshooting