ERROR: Invalid java version found:
JVMJ9CL005E Incompatible class library version: requires VM v11, found v5
JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed
Could not create the Java virtual machine.

Error in getting Java Command
ERRORCODE = 1 ERRORCODE_END
.end std out.

.end err out.


Result             : FAILED
===========================================================================
AC-50207: Fatal: Failed to execute one or more of the config tools during Context Value Management
Deactivating Context Value Management System.
System Exit Status: 1


If this error arises then that means the java is corrupted .

Even when we try to do fir command
java -version
if will bounce the same error.

ERROR: Invalid java version found:
JVMJ9CL005E Incompatible class library version: requires VM v11, found v5
JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed
Could not create the Java virtual machine.

This might occur as a part of post clone steps and the steps will fail at that point.

Solution:

1. Run command "which java" in your terminal.
2. It will return a path as "/opt11/app/oracle/DEV/tech_st/10.1.3/appsutil/jdk/jre/bin/java".
3. The we will go to directory "/opt11/app/oracle/Prod/tech_st/10.1.3/appsutil" and take the backup for the current jdk version.
4. Now copy the full jdk directory from some working for Production system.
5. Then try to retest the issue.