Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing FeatureOracleJavaSoft feature in Microsoft OpenJDK Windows install #475

Closed
apique13 opened this issue Jun 16, 2023 · 13 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@apique13
Copy link

Describe the bug
Hi, the documented FeatureOracleJavaSoft is missing in Microsoft OpenJDK installs.
Still true in 17.0.7 and 11.0.19 downloaded from https://learn.microsoft.com/en-us/java/openjdk/download

Desktop (please complete the following information):

Windows 10, 1822

MSFT Build of OpenJDK Version:

17.0.7 and 11.0.19 (and all versions before too)

To Reproduce:

Install Microsoft OpenJDK, the feature to permits installing JavaSoft registrey key is not available.
I checked it with an MSI Editor and the Feature is not present in the msi file.
The feature is documented on the page :
https://learn.microsoft.com/en-us/java/openjdk/install
FeatureOracleJavaSoft | Updates registry keys HKLM\SOFTWARE\JavaSoft.

Expected behavior

A feature which install the JavaSoft registry key used by a lot of application to find the current Java install.
This feature is present in Adoptium's jdk, Zulu's JDK and much more.

Screenshots, Logs etc
Capture

Additional context

@apique13
Copy link
Author

apique13 commented Jun 16, 2023

Here a screenshot of registry keys in the msi compared to others JDK (Zulu JDK on the right):
msi_compare
The fetures available in Microsoft JDK :
features

@brunoborges brunoborges added the bug Something isn't working label Jun 19, 2023
@brunoborges brunoborges added this to the 2023 July PSU milestone Jun 19, 2023
@karianna
Copy link
Member

karianna commented Aug 1, 2023

A customer was recently able to install this with 17.0.8 but it is still worth checking our latest installers and installers - 1

@d3r3kk
Copy link
Contributor

d3r3kk commented Aug 4, 2023

The issue persists with our 17.0.8 and 11.0.20 installers for Windows. We switched to the new installer scripts in the July PSU but that didn't bring the fix for some reason. Will investigate in time for JDK21/Oct-PSU.

@GeoSimos
Copy link

The issue is also present in 21.x version installers.

@brunoborges
Copy link
Member

Thanks @GeoSimos. Out of curiosity, why is this flag important to you?

@GeoSimos
Copy link

Hi @brunoborges,
I replied here #295 (reply in thread).

@d3r3kk d3r3kk removed this from the 2023 July PSU milestone Feb 29, 2024
@brunoborges
Copy link
Member

@jmjaffe37 let's review if we need this feature at all.

If I recall correctly, this feature comes from the old days of JREs and integration with browsers.

@GeoSimos
Copy link

@jmjaffe37 let's review if we need this feature at all.

If I recall correctly, this feature comes from the old days of JREs and integration with browsers.

If you can provide a way for us to detect the installed Java version and architecture, then it may not be required, however, lots of solutions are using those Registry keys to do several stuff.

@brunoborges
Copy link
Member

Do you have some examples of tools that rely on this registry key to identify presence of Java installed?

@brunoborges
Copy link
Member

@GeoSimos let me know if you still need this.

@brunoborges brunoborges closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
@GeoSimos
Copy link

@GeoSimos let me know if you still need this.

Hi @brunoborges,

Yes I do, please add it in your planned features.

@brunoborges
Copy link
Member

@GeoSimos can you provide details about why you need this?

@GeoSimos
Copy link

@brunoborges please see previous messages above, I have already provided explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants