Debug v2: debug service requires Java 11
Debug service v2 requires Java 11 to run. The following path need to be updated:
const MY_JAVA_HOME = `MY_JAVA_HOME="/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit"`
The default path for Java 11 is:
/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit
The debug service currently doesn't expose a version number in the installation directory, so right now we have to determine the version number based on OS version and PTF mapped to a Debug Service version. This means hard coding this detail.
{
'7.3': {
'PTF0012': 1,
'PTF0013': 2
},
'7.4': {
'PTF0014': 1,
'PTF0015': 2
},
'7.5': {
'PTF0016': 1,
'PTF0017': 2
}
}
The plan is that future debug service versions will include a JSON file which will have a version property. This means we don't need to potentially add the logic to determine OS versions and PTFs. There is also the possibly a Java version which we may be able to use.
{
"version": 2,
"java": 11
}