Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
Windows
-
b82
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8141783 | emb-9 | Dmitry Cherepanov | P3 | Resolved | Fixed | team |
JDK-8156239 | 8u111 | Dmitry Cherepanov | P3 | Resolved | Fixed | b01 |
JDK-8150061 | 8u102 | Dmitry Cherepanov | P3 | Resolved | Fixed | b01 |
JDK-8162014 | emb-8u111 | Dmitry Cherepanov | P3 | Resolved | Fixed | b01 |
Description
The current implementation of getInstalledJREList returns a vector of installed jres of the current architecture.
Since we now have inter architecture support on windows, we need it to return list of all the jres available, along with the archecture of each one. (currently, it is just assumed that all those returned are of the current architecture).
To demonstrate, install 32 and 64 bit versions of JDK9 on windows, clear out deployment.properties (or at least the jre part of it).
Then run 32 bit jcp.
You will see just the 32 bit jre in the java tab.
Then run 64 bit jcp
You will see both the 32 and 64 bit versions in the java tab.
You can then run 32 bit jcp and see both.
The point is the 32 bit jres won't be "discovered" till you run some 32 bit deployment code.
The 64 bit jres won't be "discovered till you run som 64 bit deployment code.
Running either should discover both.
Since we now have inter architecture support on windows, we need it to return list of all the jres available, along with the archecture of each one. (currently, it is just assumed that all those returned are of the current architecture).
To demonstrate, install 32 and 64 bit versions of JDK9 on windows, clear out deployment.properties (or at least the jre part of it).
Then run 32 bit jcp.
You will see just the 32 bit jre in the java tab.
Then run 64 bit jcp
You will see both the 32 and 64 bit versions in the java tab.
You can then run 32 bit jcp and see both.
The point is the 32 bit jres won't be "discovered" till you run some 32 bit deployment code.
The 64 bit jres won't be "discovered till you run som 64 bit deployment code.
Running either should discover both.
Attachments
Issue Links
- backported by
-
JDK-8141783 Platform.getInstalledJREList() returns only the jres of the current arch on windows.
-
- Resolved
-
-
JDK-8150061 Platform.getInstalledJREList() returns only the jres of the current arch on windows.
-
- Resolved
-
-
JDK-8156239 Platform.getInstalledJREList() returns only the jres of the current arch on windows.
-
- Resolved
-
-
JDK-8162014 Platform.getInstalledJREList() returns only the jres of the current arch on windows.
-
- Resolved
-
- relates to
-
JDK-8003984 Allow relaunch between 32 / 64 bit versions in Java Web Start when you have latest versions of both
-
- Resolved
-