I’m trying to modify a java service file in the webMethods designer. After finishing the code and saving the file this prompt suddenly show up.
bad class file: /opt/test/1015/common/lib/wm-isclient.jar(com/wm/util/Values.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
My expected result is to save and compile the java service. Why this is happening? Do i need some sort of setting in the 10.15 version? Any help or explanation would be much appreciated.
As Holger mentioned, the error indicates a Java version mismatch. The wm-isclient.jar was compiled with Java 11 (version 55), but your environment is running Java 8 (version 52). You can either switch your Designer or IS to Java 11 or find a version of the JAR compiled with Java 8. If you have the source, you could also recompile the JAR with the -target 1.8 option. Fixing the version mismatch should allow you to save and compile the Java service without errors.
as the source for the wm-isclient.jar is not publicly available, there won´t be any chance to recompile it with Java 8.
Please check, if it might be possible to switch your environment to run with Java 11.
This doesn’t sound right. Are you using a lower level designer than your integration server? If they are the same version, they should use the same JDK version. Check the JVM path you passed to IS in extended settings. The most likely scenario is you have a lower level version of JDK in your IS, but its probably configured manually. If this doesn’t help, try version 11 designer to see if it makes any difference.
The extended setting I am referring to is watt.server.compile. Check the JVM version on this path and see if it is lower then 11 or not.