[
https://issues.apache.org/jira/browse/NETBEANS-3660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17011037#comment-17011037
]
Christian Oyarzun commented on NETBEANS-3660:
---------------------------------------------
Odd, just bundling the AdoptOpenJDK JRE works.
[2020-01-08 16:37:14.003]> ... java hierarchy there
[2020-01-08 16:37:14.018]> Create new process:
[2020-01-08 16:37:14.034]> command :
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp\_jvm\bin\java.exe -classpath
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp TestJDK
[2020-01-08 16:37:14.049]> directory : C:\Users\oyarzun\Desktop
[2020-01-08 16:37:14.471]> ... process created
[2020-01-08 16:37:15.206]> ... process finished his work
[2020-01-08 16:37:15.221]> output :
11.0.5
11.0.5+10
AdoptOpenJDK
Windows 10
amd64
[2020-01-08 16:37:15.221]> java.version = 11.0.5
[2020-01-08 16:37:15.252]> java.vm.version = 11.0.5+10
[2020-01-08 16:37:15.252]> java.vendor = AdoptOpenJDK
[2020-01-08 16:37:15.268]> os.name = Windows 10
[2020-01-08 16:37:15.284]> os.arch = amd64
[2020-01-08 16:37:15.284]>
[2020-01-08 16:37:15.299]> ... getting java version from string : 11.0.5+10
[2020-01-08 16:37:15.315]> ... some java there
[2020-01-08 16:37:15.331]> ... some java at
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp\_jvm
[2020-01-08 16:37:15.346]> ... checking compatibility of java :
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp\_jvm
[2020-01-08 16:37:15.362]> ... compatible
[2020-01-08 16:37:15.377]> Compatible jvm was found on the system
[2020-01-08 16:37:15.393]> Current Java:
[2020-01-08 16:37:15.409]> javaHome:
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp\_jvm
[2020-01-08 16:37:15.424]> javaExe:
C:\Users\oyarzun\AppData\Local\Temp\\NBI34941.tmp\_jvm\bin\java.exe
[2020-01-08 16:37:15.534]> version: 11.0.5
[2020-01-08 16:37:15.628]> vendor: AdoptOpenJDK
[2020-01-08 16:37:15.690]> os.name: Windows 10
[2020-01-08 16:37:15.768]> os.arch: amd64
> Netbeans Installer fails with bundled JDK
> -----------------------------------------
>
> Key: NETBEANS-3660
> URL: https://issues.apache.org/jira/browse/NETBEANS-3660
> Project: NetBeans
> Issue Type: Bug
> Components: platform - JDK Problems
> Affects Versions: 8.2
> Reporter: MeFisto94
> Priority: Major
>
> For our Netbeans Platform Application
> ([https://github.com/jMonkeyEngine/sdk/releases/tag/v3.3.0-beta1-sdk1)] at
> least the 64bit Windows Version of the Netbeans Installer is broken.
>
> Here's a log
> ```
> [...]
> [2020-01-03 00:25:54.511]> ... directory :
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp\_jvm\lib\server
> [2020-01-03 00:25:54.512]> ... listing directory
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp\_jvm\lib\server
> [2020-01-03 00:25:54.513]> ... java hierarchy there
> [2020-01-03 00:25:54.514]> Create new process:
> [2020-01-03 00:25:54.515]> command :
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp\_jvm\bin\java.exe -classpath
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp TestJDK
> [2020-01-03 00:25:54.516]> directory : C:\Users\Marc\Downloads
> [2020-01-03 00:25:54.544]> ... process created
> [2020-01-03 00:25:54.645]> ... process finished his work
> [2020-01-03 00:25:54.649]> output :
> 11.0.5
> 11.0.5+10
> AdoptOpenJDK
> Windows 10
> amd64
> [2020-01-03 00:25:54.650]> java.version = 11.0.5
> [2020-01-03 00:25:54.651]> java.vm.version = 11.0.5+10
> [2020-01-03 00:25:54.651]> java.vendor = AdoptOpenJDK
> [2020-01-03 00:25:54.653]> os.name = Windows 10
> [2020-01-03 00:25:54.654]> os.arch = amd64
> [2020-01-03 00:25:54.654]>
> [2020-01-03 00:25:54.654]> ... getting java version from string : 11.0.5+10
> [2020-01-03 00:25:54.655]> ... some java there
> [2020-01-03 00:25:54.656]> ... no java at
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp\_jvm
> [2020-01-03 00:25:54.657]> ... check private jre at
> C:\Users\Marc\AppData\Local\Temp\\NBI06365.tmp\_jvm\jre
> [2020-01-03 00:25:54.658]> ... not a java hierarchy
> [2020-01-03 00:25:54.659]> ... no java was found
> [2020-01-03 00:26:00.595]> No compatible jvm was found on the system
> [2020-01-03 00:26:00.596]> ... deleting temporary directory
> [2020-01-03 00:26:00.815]> ... EXIT status : 1010
> [2020-01-03 00:26:00.816]> ... EXIT code : 0
> [2020-01-03 00:26:00.817]> Closing launcher properties
> ```
>
> Now I don't know how to proceed as it can successfully run the test and
> extract the version string and concluding `some java there`, but it then
> concludes `no java at C:\..._jvm` (Actually it is in the bin\ folder there...)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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