[ 
https://issues.apache.org/jira/browse/NETBEANS-3660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17011010#comment-17011010
 ] 

MeFisto94 commented on NETBEANS-3660:
-------------------------------------

I tried to, but it still doesn't work:

[2020-01-08 22:04:25.643]> ... java hierarchy there
[2020-01-08 22:04:25.644]> Create new process: 
[2020-01-08 22:04:25.645]> command : 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp\_jvm\bin\java.exe -classpath 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp TestJDK 
[2020-01-08 22:04:25.646]> directory : C:\Users\Marc\Downloads\dir
[2020-01-08 22:04:25.672]> ... process created
[2020-01-08 22:04:25.788]> ... process finished his work
[2020-01-08 22:04:25.789]> output :
11.0.5
11.0.5+10
AdoptOpenJDK
Windows 10
amd64

[2020-01-08 22:04:25.790]> java.version = 11.0.5
[2020-01-08 22:04:25.791]> java.vm.version = 11.0.5+10
[2020-01-08 22:04:25.792]> java.vendor = AdoptOpenJDK
[2020-01-08 22:04:25.793]> os.name = Windows 10
[2020-01-08 22:04:25.794]> os.arch = amd64
[2020-01-08 22:04:25.794]> 
[2020-01-08 22:04:25.795]> ... getting java version from string : 11.0.5+10
[2020-01-08 22:04:25.795]> ... some java there
[2020-01-08 22:04:25.796]> ... no java at 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp\_jvm
[2020-01-08 22:04:25.797]> ... check private jre at 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp\_jvm\jre
[2020-01-08 22:04:25.798]> ... java hierarchy there
[2020-01-08 22:04:25.799]> Create new process: 
[2020-01-08 22:04:25.800]> command : 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp\_jvm\jre\bin\java.exe -classpath 
C:\Users\Marc\AppData\Local\Temp\\NBI05984.tmp TestJDK 
[2020-01-08 22:04:25.801]> directory : C:\Users\Marc\Downloads\dir
[2020-01-08 22:04:25.828]> ... process created
[2020-01-08 22:04:25.984]> ... process finished his work
[2020-01-08 22:04:25.984]> output :
11.0.5
11.0.5+10
AdoptOpenJDK
Windows 10
amd64

[2020-01-08 22:04:25.985]> java.version = 11.0.5
[2020-01-08 22:04:25.986]> java.vm.version = 11.0.5+10
[2020-01-08 22:04:25.987]> java.vendor = AdoptOpenJDK
[2020-01-08 22:04:25.988]> os.name = Windows 10
[2020-01-08 22:04:25.989]> os.arch = amd64
[2020-01-08 22:04:25.989]> 
[2020-01-08 22:04:25.989]> ... getting java version from string : 11.0.5+10
[2020-01-08 22:04:25.990]> ... some java there
[2020-01-08 22:04:25.991]> ... no java was found
[2020-01-08 22:04:37.430]> No compatible jvm was found on the system
[2020-01-08 22:04:37.431]> ... deleting temporary directory 
[2020-01-08 22:04:37.702]> ... EXIT status : 1010
[2020-01-08 22:04:37.703]> ... EXIT code : 0
[2020-01-08 22:04:37.704]> Closing launcher properties

 

This time it even success at launching the java.exe from the jre folder, but 
still it says:
[2020-01-08 22:04:25.989]> ... getting java version from string : 11.0.5+10
[2020-01-08 22:04:25.990]> ... some java there
[2020-01-08 22:04:25.991]> ... no java was found
[2020-01-08 22:04:37.430]> No compatible jvm was found on the system

 

Which is as weird as it's wrong.

 

> 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

Reply via email to