Closed christianhujer closed 1 year ago
A quick comment on this - this particular requirement comes from the Android SDK (Bubblewrap doesn't use Java at all). The Android SDK is also tricky to get right, as specific versions can have different bugs. For this reason, we strongly recommend allowing Bubblewrap to install the JDK and Android SDK, as setting those manually is error prone. The manual setup and required JDK version is documented at https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli#get-the-java-development-kit-jdk-11.
In that case, the prompt could be changed to "Do you want Bubblewrap to install JDK (11, recommended)?"
The recommendation is in the documentation, but yes, probably worth adding to the prompt too.
Fixed via #795
(current was JDK 19) It would've been great if Bubblewrap would've told me that it requires JDK 11 before it wasted my time figuring out which PATH my currently used JDK is on.
Is your feature request related to a problem? Please describe. When I started bubblewrap, it asked me for the JDK. Which is bad enough, as I have a JDK on
PATH
as well as several other JDKs managed by SDKMAN!. But what was worse is that once I figured what path my JDK is and entered it, bubblewrap told me it's not happy with my JDK, it needs JDK 11. If bubblewrap would've told me right away, I could've saved the hassle of giving it a JDK 19 path and would have given it a JDK 11 path right away.Describe the solution you'd like I'd like bubblewrap to tell me
Path to your existing JDK (JDK11, not older, not newer)
instead ofPath to your existing JDK
if bubblewrap is really so picky about the JDK.