Changes

OpenJDK

862 bytes added, 22:03, 11 May 2020
Add IcedTea config
Because Alternative Java from AdoptOpenJDK. Oracle license since June 2019 not allow use Oracle jre in the commercial segment's free, you can interest in analog. It can be AdoptOpenJDKGPL-licensed, production-ready JDK. == Config for JRE 11 ==Download it [https://adoptopenjdk.net/releasesindex.html?variant=openjdk11&jvmVariant=hotspot Download it here!]== Config for JRE== .
<source lang="xml">
<package
<variable name="PKG_REMOVE_SWITCH" value="/qn /norestart" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\AdoptOpenJDK\jre-%PKG_VERSION%-hotspot" />
<variable name="PKG_MSI_CODE_X86" value="{074D0BBD-97EB-45A3-A066-441FBE6A79FE}" />
<variable name="PKG_MSI_CODE_X64" value="{EB1A316D-D3D6-40F7-A70C-F0F02365F835}" />
<check type="logical" condition="and">
<upgrade include="install" />
<remove cmd='msiexec wmic product where "name like &apos;AdoptOpenJDK JRE with Hotspot %% (x86)&apos;" call uninstall' /X > <remove cmd='wmic product where "name like &apos;AdoptOpenJDK JRE with Hotspot %PKG_MSI_CODE_X86% (x64)&apos;" call uninstall' architecture="x64" /></package></source> == Config for IcedTea == Download it [https://adoptopenjdk.net/icedtea-web.html?variant=openjdk11&jvmVariant=hotspot here].<source lang="xml"><package id="icedteaweb" name="IcedTea-Web" revision="%PKG_VERSION%" reboot="false" priority="20">  <variable name="PKG_VERSION" value="1.8.3.0" /> <variable name="PKG_SOURCE" value="%SOFTWARE%\Java\IcedTea"/> <variable name="PKG_NAME" value="icedtea-web-%PKG_VERSION%.msi" /> <variable name="PKG_INSTALL_SWITCH" value="/qn /norestart" /> <variable name="PKG_REMOVE_SWITCH" value="/qn /norestart" /> <check type="uninstall" condition="versiongreaterorequal" path="IcedTea-Web .+" value="%' PKG_VERSION%" />  <remove install cmd='msiexec /X i "%PKG_MSI_CODE_X64PKG_SOURCE% \%PKG_REMOVE_SWITCHPKG_NAME%" %PKG_INSTALL_SWITCH%' architecture/> <downgrade include="x64remove" /> <downgrade include="install" />  <upgrade include="remove" /> <upgrade include="install" />  <remove cmd='wmic product where "name like &apos;IcedTea-Web %%&apos;" call uninstall' />
</package>
</source>
[[category:Silent Installers]]
74
edits