On Sun, 22 Aug 2021 at 17:17, Eric Bresie <[email protected]> wrote: > "Tools"..."Add Java Platform".."Select platform type"... > "Download OpenJDK (via foojay Disco API)" / "Connect to OpenJDK Discovery > Service", > Selected "15 (MTS)"..."Download, Unarchive, and Automatically Register in > Netbeans" > Accepted default folder (also tried different folder) > From this I get "Download failed" ... > Anyone else able to recreate this? If so, should I create an issue (or has > one already been created)? > --- > java.lang.IllegalStateException: Could not find package for 15.0.0.0
Try waiting a few seconds to see if the text changes to the name of an actual JDK before clicking next on the page with download location. This can be caused by not waiting for the network call to complete, or a failure to get the required information from Disco API. I added a quick fix already in https://github.com/apache/netbeans/pull/3104 to only validate the panel if there's a valid file to download - this one was bugging me too! Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
