When double-clicking on mule.bat I get the following error message.
Error message:
Caught: BUG! exception in phase 'semantic analysis' in source unit 'C:\NihaMule\mule-ee-distribution-standalone-4.4.0\mule-enterprise-standalone-4.4.0\bin\additional.groovy' Unsupported class file major version 61
CodePudding user response:
You seem to be using an incompatible Java version to start Mule. Either use a compatible Java version and set it first in Windows PATH environment variable, or alternatively configure the full path of the Java executable in the configuration file wrapper.conf (example: wrapper.java.command=<Java Home>/bin/java
).
Note that compatible Java versions for Mule 4.4 are JDK 8 or JDK 11 only. Any other Java/OpenJDK versions are not supported.
CodePudding user response:
Class file Major version - 61 , that means your system have JDK 17 ( latest Java version).
Kindly install JDK 11 to be compatible with Mule
Update the JAVA_HOME windows environment variable
Update the PATH windows environment variable.
Run mule.bat