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

Docs and tools differ on JDK version #2663

Open
breyed opened this issue Dec 4, 2024 · 0 comments
Open

Docs and tools differ on JDK version #2663

breyed opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@breyed
Copy link
Contributor

breyed commented Dec 4, 2024

The MAUI Android install instructions say to use an exact version of the JDK:

Install Microsoft OpenJDK 17.

However, the .NET MAUI VS Code extension, in its output generated if no JDK is installed says to use JDK 17.0 or later:

ANDROID ENVIRONMENT STATUS: 12/4/2024, 1:37:24 PM

Here is the status of your Android development environment:

[...]

ACTION REQUIRED:
✗- Java Development Kit (JDK) - Ensure the required JDK version 17.0 or later is configured by installing the JDK, and then setting the JDK at the preferred level.

Perhaps the "or later" means a minor version, so 17.x but not 21.x. It's not clear. Also, if it does mean 17.x, it's not clear what version 21.x is used for. The docs and tool output should be reconciled and clarified.

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant