Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: GeoSimos on May 06, 2025, 06:01:54 AM

Title: Oracle Java Runtime parameters for autoupdate and file association proposal
Post by: GeoSimos on May 06, 2025, 06:01:54 AM
Hello PMPC Team,

We have been dealing with inconsistent behavior of Oracle Java Runtime 8 file associations for some time now, and lately I had to provide a previous version of it for a specific group of devices.
Using custom apps, I had to dig a bit and find the parameters you can pass to the .exe installer, from them I tested the following and they work fine so far:
#2 is the one that solved our association issues, before that, I was considering running a post installation script to do the associations (which can prove quite challenging on Windows 10 and later).
I have added the parameter #2 in the PMPC Publisher's options for Oracle Java Runtime ConfigMgr Apps and Updates and works fine.
I'm not 100% sure for the AUTO_UPDATE=Disable parameter (it seems to be applied during install), as I saw prompts for update of the older version at users.
Would you consider incorporating #2 in your configuration files for Oracle JRE -could apply to JDK also but I don't do it to avoid creating a mess with file associations-.

Kind regards
Title: Re: Oracle Java Runtime parameters for autoupdate and file association proposal
Post by: Bogdan (Patch My PC) on May 06, 2025, 07:35:23 AM
Hey there!

We already have that covered — the following is the default we use:
/s REBOOT=ReallySuppress
If your question is about point #3:
WEB_JAVA=1 (which associates .jar files with javaw.exe and .jnlp with jp2launcher.exe) — we don't set any config options for apps.
That said, we totally understand that some folks might want a newer version of Java to be the default file handler, while still keeping Java 8 around for specific apps.You are absolutely free to customize the command line to suit your environment and needs.
Hope that helps! Let us know if you have any other questions.  :)
Title: Re: Oracle Java Runtime parameters for autoupdate and file association proposal
Post by: GeoSimos on May 06, 2025, 09:31:30 AM
Hi Bogdan,

That fact you stated, isn't straight forward to be honest.
Especially for JRE, it can become a big issue.
I'm aware that if someone installs JRE and then a JDK, chances are that the latter may do the association -and that may create a lot of confusion again-, is there a way to request for a change about the JRE?