matthiasblaesing commented on issue #3707: URL: https://github.com/apache/netbeans/issues/3707#issuecomment-1059821373
I think I ran the installer the first time and I'm not able to reproduce the problem. I fetched the ZIP distribution of the JDK from here: https://www.oracle.com/java/technologies/downloads/#jdk17-windows Then I ran the installer with JDK 11 set in JAVA_HOME and PATH like this: ``` Apache-NetBeans-13-bin-windows-x64.exe --verbose --output installer.log ``` I selected the expanded directory from the downloaded zip and it was accepted as I would expect it to be. The installer log showed this: ``` [2022-03-05 20:35:57.251]: executing command: C:\temp\jdk-17_windows-x64_bin\jdk-17.0.2\bin\java.exe -classpath C:\Users\matthias\.nbi\tmp TestJDK, in directory: . [2022-03-05 20:35:57.437]: [stdout]: 17.0.2 [2022-03-05 20:35:57.437]: [stdout]: 17.0.2+8-LTS-86 [2022-03-05 20:35:57.437]: [stdout]: Oracle Corporation [2022-03-05 20:35:57.437]: [stdout]: Windows 10 [2022-03-05 20:35:57.437]: [stdout]: amd64 [2022-03-05 20:35:57.437]: [return]: 0 [2022-03-05 20:35:57.437]: ... command execution finished [2022-03-05 20:35:57.437]: ... java.version = 17.0.2 [2022-03-05 20:35:57.437]: ... java.vm.version = 17.0.2+8-LTS-86 [2022-03-05 20:35:57.437]: ... java.vendor = Oracle Corporation [2022-03-05 20:35:57.437]: ... os.name = Windows 10 [2022-03-05 20:35:57.437]: ... os.arch = amd64 [2022-03-05 20:35:57.437]: ... version string : 17.0.2+8-LTS-86 [2022-03-05 20:35:57.437]: ... put jdk info to the Java map ``` This looks reasonable, so something must be different at your end. Could you please: a) check the JDK again - is it maybe a prerelease version, this might mess up the detection code (and would make this less of an issue, given, that the previous/next released version is always less than 6 months in the future) b) run the installer with verbose logging, review the log for security sensitive information and put it here (or a subset of it) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
