Redth / dotnet-maui-check

.NET MAUI Check tool
MIT License
479 stars 79 forks source link

Require JDK 11 for Android #20

Closed jonathanpeppers closed 3 years ago

jonathanpeppers commented 3 years ago

We are dropping support for the old JDK 1.8 in C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25. In .NET 6 Preview 4, the Android workload will no longer locate it by default, but you can still set it to %JAVA_HOME% or /p:JavaSdkDirectory manually.

We should prompt for users to install this new JDK 11 distro instead:

https://www.microsoft.com/openjdk

We can go ahead and start requiring this in maui-check, I think. Boots.Core seems like it could install these automatically.

Redth commented 3 years ago

The current --dev feed requires and installs OpenJDK11.