Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenJDK 11 to run the Debug Service #2195

Closed
wants to merge 27 commits into from

Conversation

sebjulliand
Copy link
Collaborator

Changes

It's possible to install OpenJDK 11 using yum, which is an alternative to using IBM's JDK.
This PR brings the required changes to support OpenJDK 11 to run the Debug Service:

  • Java installations are now connection features
  • When looking for a Java version, if the IBM version is not found, the lookup falls back to the openJDK version if available
  • The certificate generation process backups and changes the shell scripts provided with the Debug Service to make them compatible with OpenJDK 11

How to test this PR

On a system with Debug Service 2 and no IBM JDK 11 installed, before testing the PR:

  1. Stop the Debug Service
  2. Install OpenJDK 11 with yum: yum install openjdk-11-ea.ppc64

Then:

  1. Connect to the system (Code for i should detect available Java installations)
  2. Go to the IBM i Debugger view
  3. Re-generate the certificate
  4. Start the debug service

Checklist

  • have tested my change
  • have created one or more test cases (for java locations)

sebjulliand and others added 27 commits July 4, 2024 17:46
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
@sebjulliand sebjulliand added enhancement New feature or request debug Debug client issue (IBM) labels Jul 24, 2024
@sebjulliand
Copy link
Collaborator Author

Cancelled in favor of #2283
Reason: if openjdk 11 fails to run the Debug Service, it can't get fixed.

@sebjulliand sebjulliand closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug client issue (IBM) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant