On Mon, 23 Aug 2021 at 09:55, Neil C Smith <neilcsm...@apache.org> wrote: > > On Sun, 22 Aug 2021 at 17:17, Eric Bresie <ebre...@gmail.com> 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!
Can you check if beta2 behaviour here is a little better? For 12.6 we're probably looking at a rewrite of this area to support Disco API v2. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists