The IDE Log gives me INFO [org.netbeans.modules.java.j2seplatform.wizard.NewJ2SEPlatform]: Cannot execute probe process java.io.IOException: Java process exit code: 1 at org.netbeans.modules.java.j2seplatform.wizard.NewJ2SEPlatform.getSDKProperties(NewJ2SEPlatform.java:144) [catch] at org.netbeans.modules.java.j2seplatform.wizard.NewJ2SEPlatform.run(NewJ2SEPlatform.java:94) at org.netbeans.modules.java.j2seplatform.wizard.DetectPanel$WizardPanel$1.run(DetectPanel.java:438) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Den tis 23 juli 2019 kl 15:54 skrev Geertjan Wielenga <geert...@apache.org>: > Here's something related: > https://netbeans.org/bugzilla/show_bug.cgi?id=177983 > > Still not clear to me though the difference between 11.0 and 11.1. > > Gj > > On Tue, Jul 23, 2019 at 3:51 PM Geertjan Wielenga <geert...@apache.org> > wrote: > >> It's weird because AFAIK nothing has been done in this area in 11.1. I've >> also tried running 11.1 itself on JDK 8 as well as JDK 12 to see if it >> makes a difference. A big thumbs up to whomever figures out the cause of >> this problem. >> >> Gj >> >> On Tue, Jul 23, 2019 at 3:48 PM Patrik Karlström <pat...@trixon.se> >> wrote: >> >>> It's reproduceable for me too on Manjaro Linux. >>> >>> Den tis 23 juli 2019 kl 15:39 skrev Geertjan Wielenga < >>> geert...@apache.org>: >>> >>>> So far I've been able to reproduce this on Mac OSX, i.e., in 11.0 I can >>>> register JDK 7 while in 11.1 this fails, trying to find out why. Then again >>>> 11.0 is the LTS release, so you should be fine with that especially if >>>> you're using slightly older versions of technologies. >>>> >>>> Gj >>>> >>>> On Tue, Jul 23, 2019 at 3:36 PM Gregor Kovač <kov...@gmail.com> wrote: >>>> >>>>> Hi! >>>>> >>>>> Upgrading from JDK 7 is a whole different story. We are still using >>>>> Glassfish 3.1. :( :( >>>>> I'd like to upgrade, but there is never enough time. >>>>> >>>>> Best regards, >>>>> Gregor >>>>> >>>>> V V tor., 23. jul. 2019 ob 14:58 je oseba Geertjan Wielenga < >>>>> geert...@apache.org> napisala: >>>>> >>>>>> Strange, will try to reproduce, maybe others can too? And maybe use >>>>>> it as an opportunity to upgrade beyond JDK 7? :-) >>>>>> >>>>>> Gj >>>>>> >>>>>> On Tue, Jul 23, 2019 at 2:39 PM Gregor Kovač <kov...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> Hi! >>>>>>> >>>>>>> I've deleted netbeans userdir, cachedir. >>>>>>> Unzipped 11.1, pointed to JDK1.8 in netbeans.conf, since 1.8 is not >>>>>>> my default Java on my system. >>>>>>> Then I started it, enabled Java SE plugins, tried to add 1.7 as >>>>>>> platform and still get the same error. >>>>>>> >>>>>>> Best regards, >>>>>>> Gregor >>>>>>> >>>>>>> V V tor., 23. jul. 2019 ob 14:36 je oseba Geertjan Wielenga < >>>>>>> geert...@apache.org> napisala: >>>>>>> >>>>>>>> If it worked with 11.0 it should certainly work in 11.1. >>>>>>>> >>>>>>>> Just make very sure by removing the userdir of both and then trying >>>>>>>> again in both to make sure they work or fail in the same way on both. >>>>>>>> >>>>>>>> Gj >>>>>>>> >>>>>>>> On Tue, Jul 23, 2019 at 2:15 PM Geertjan Wielenga < >>>>>>>> geert...@apache.org> wrote: >>>>>>>> >>>>>>>>> Ah, this is not for running NetBeans itself but for your own >>>>>>>>> applications, I see. Make sure you have installed the JDK correctly, >>>>>>>>> maybe >>>>>>>>> reinstall. >>>>>>>>> >>>>>>>>> Gj >>>>>>>>> >>>>>>>>> On Tue, Jul 23, 2019 at 2:14 PM Geertjan Wielenga < >>>>>>>>> geert...@apache.org> wrote: >>>>>>>>> >>>>>>>>>> You need JDK 8 or above. >>>>>>>>>> >>>>>>>>>> Gj >>>>>>>>>> >>>>>>>>>> On Tue, Jul 23, 2019 at 2:13 PM Gregor Kovač <kov...@gmail.com> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hi! >>>>>>>>>>> >>>>>>>>>>> I'm trying to add Java Platform to Netbeans and when selecting >>>>>>>>>>> 1,7 I get thuis error message: >>>>>>>>>>> "Cannot detect and install the selected platform. The java or javac >>>>>>>>>>> may not be executable." >>>>>>>>>>> >>>>>>>>>>> Image of 1.7 being detected as Java : >>>>>>>>>>> [image: slika.png] >>>>>>>>>>> >>>>>>>>>>> Error: >>>>>>>>>>> [image: slika.png] >>>>>>>>>>> >>>>>>>>>>> Best regards, >>>>>>>>>>> Gregor >>>>>>>>>>> >>>>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>>>>>> | In A World Without Fences Who Needs Gates? | >>>>>>> | Experience Linux. | >>>>>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>>>> | In A World Without Fences Who Needs Gates? | >>>>> | Experience Linux. | >>>>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>>>> >>>>