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

Warn if JDK appears invalid and offer configuration. #7813

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

sdedic
Copy link
Member

@sdedic sdedic commented Sep 30, 2024

If the NBLS is about to start with no JDK or JDK that appears invalid (strawman check: bin/java and bin/javac must be present), the extension displays an error and suggests to run the configuration command (which, in turn, will restart NBLS):
warning

The list of configured settings now contains note(s) about required JDK version:
selector

  • the JDK selection indicates it has been filtered:
    filtered

If by a chance, the user picks a Custom JDK which is not compatible, last warning appears:
incompatible

@sdedic sdedic added the VSCode Extension [ci] enable VSCode Extension tests label Sep 30, 2024
@sdedic sdedic added this to the NB24 milestone Sep 30, 2024
@sdedic sdedic self-assigned this Sep 30, 2024
@MartinBalin MartinBalin merged commit bb3e585 into apache:master Oct 1, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants