raphael.brocq a écrit :java.pngLogiciel : Java
Développeur : Oracle
Type de licence : Propriétaire
Compatible XP : Oui en version 7
Compatible Win7 : Oui
Existe aussi sous Linux : Oui
Version : 7.79 et 8.191
ATTENTION : la mise à jour est longue. Attendre la mise à jour de JAVA pour programmer d'autres mises à jours par WPKG.
Procédure :
- télécharger l'update en cours (le chemin est dans le paquet XML)
- pour Windows Seven et depuis un poste Seven :
- une fois téléchargé, double-cliquer dessus, puis ne cliquer sur rien d'autre
- aller dans le dossier C:\Utilisateurs\admin\AppData\LocalLow\Oracle\Java\
- copier le dossier jre1.8.0_XX\ dans u:\wpkg\softwares\java\ (pour info, cela permet de récupérer le msi, msi que l'on utilise pas pour XP car il pose des soucis...)
- annuler l'opération d'installation en cours
- bien vérifier que dans le dossier u:\wpkg\softwares\java\jre1.8.0_XX\ se trouve le fichier .msi (jre1.8.0_XX.msi)
- vérifier bien que votre id 'Java' est le même sur votre réseau
- si vous savez quelle version de java est sur les postes, rajoutez la ligne correspondante :
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216039FF}'><exit code='any' /></install>
Vous trouverez cette ligne dans la base de registre (dans la ligne UninstallString de la clé correspondant à Java :
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
- ajouter autant de ligne que de versions à désinstaller à s'inspirant du paquet Java 6 ci-dessous.
- attention, à partir de Java 7 update 51, Java a remonté ses règles de sécurité.
-> ajouter les sites en question dans un fichier exception.sites ; problème non résolu actuellement : il faut le faire utilisateur par utilisateur.Code : Tout sélectionner<package
id="Java"
name="Java(TM) : Outils permettant l execution de programmes Java"
revision="%version7%.1"
reboot="false"
priority="500" >
<variable name="updateverxp" value="79" />
<variable name="shortupdateverxp" value="79" />
<variable name="updatever7" value="191" />
<variable name="shortupdatever7" value="191" />
<variable name="version7" value="%majorversion%.%updatever7%" />
<variable name="majorversion" value="8" />
<variable name="autoupdate" value="0" />
<variable name="PROGRAMFILES" value="%PROGRAMFILES%" architecture="x86"/>
<variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%" architecture="x64"/>
<!-- Téléchargement Java 7 pour XP -->
<eoledl dl="http://javadl.sun.com/webapps/download/AutoDL?BundleId=106367" destname="java/jre-7u%shortupdateverxp%-windows-i586.exe" />
<!-- Téléchargement Java 8 pour W7 -->
<eoledl dl="http://javadl.oracle.com/webapps/download/AutoDL?BundleId=235725_2787e4a523244c269598db4e85c51e0c" destname="java/jre-%majorversion%u%updatever7%-windows-i586.exe" />
<!-- Sur Vista/Seven :
* executer le .exe manuellement, NE PAS CLIQUER "Suivant/Installer"
* recuperer le dossier %USERPROFILE%\AppData\LocalLow\Oracle\Java\jre1.8.0_XX et le placer dans %SOFTWARE%\java\
* annuler l'installation manuelle
! faire cela pour Vista/Seven i586
-->
<!-- Verification pour XP -->
<check os=".+5\.[1-2]\.\d{4}" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\bin\java.exe" />
<check os=".+5\.[1-2]\.\d{4}" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre7\lib\i386\jvm.cfg" />
<check os=".+5\.[1-2]\.\d{4}" type="logical" condition="or">
<check type="uninstall" condition="exists" path="Java 7 Update %shortupdateverxp%" />
<check type="uninstall" condition="exists" path="Java 7" />
</check>
<!-- Verification pour 7 -->
<check os=".+6\.[0-1]\.\d{4}" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre1.%majorversion%.0_%updatever7%\bin\java.exe" />
<check os=".+6\.[0-1]\.\d{4}" type="file" condition="exists" path="%PROGRAMFILES%\Java\jre1.%majorversion%.0_%updatever7%\lib\i386\jvm.cfg" />
<check os=".+6\.[0-1]\.\d{4}" type="logical" condition="or">
<check type="uninstall" condition="exists" path="Java %majorversion% Update %updatever7%" />
<check type="uninstall" condition="exists" path="Java %majorversion%" />
</check>
<!-- on tue les processus Firefox et InternetExplorer -->
<install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><exit code='any' /></install>
<!-- Si Java est mal installe, la mise a jour plante pendant la desinstallation de la version precedente avec le message "rundll32 : installer.dll introuvable". En copiant "installer.dll" dans le dossier d'installation ca ne plante plus -->
<install os=".+5\.[1-2]\.\d{4}" cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\java\installer.dll" "%PROGRAMFILES%\Java\jre7\bin\"'><exit code='any' /></install>
<install os=".+6\.[0-1]\.\d{4}" cmd='%COMSPEC% /C copy /Y "%SOFTWARE%\java\installer.dll" %PROGRAMFILES%\Java\jre1.%majorversion%.0_%updatever7%\bin\"'><exit code='any' /></install>
<!-- desinstall versions precedentes de Java 6 -->
<!-- desinstallation de ma 38 et 39 ({...-2F832160%version%FF}- ajouter des lignes si necessaire -->
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216038FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216039FF}'><exit code='any' /></install>
<!-- desinstall versions precedentes de Java 7 -->
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217010FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217011FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217015FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217021FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217040FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217045FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217051FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217055FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217060FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217067FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217071FF}'><exit code='any' /></install>
<install timeout='300' cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217075FF}'><exit code='any' /></install>
<!-- desinstall versions precedentes de Java 8 -->
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218040F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218045F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218060F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218066F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218073F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83218091F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180101F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180111F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180121F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180131F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180144F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180151F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180161F0}'> <exit code='0' /> <exit code='1605' /> </install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180181F0}'> <exit code='0' /> <exit code='1605' /> </install>
<!-- desinstall de la version que l on veut installer sur tous les postes -->
<install timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F032170%updateverxp%FF}'><exit code='0' /><exit code='1605' /></install>
<install os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180%updatever7%F0}'><exit code='0' /><exit code='1605' /></install>
<!-- on installe le .exe sur des postes XP -->
<install
os=".+5\.[1-2]\.\d{4}"
timeout="300"
cmd='%SOFTWARE%\java\jre-7u%shortupdateverxp%-windows-i586.exe /s REBOOT=Suppress IEXPLORER=1 MOZILLA=1 WEB_JAVA_SECURITY_LEVEL=M JAVAUPDATE=%autoupdate% CUSTOM=1' />
<!-- on installe le .msi sur des postes W7 -->
<install
os=".+6\.[0-1]\.\d{4}"
timeout="300"
cmd='msiexec /qn /i %SOFTWARE%\java\jre1.%majorversion%.0_%updatever7%\jre1.%majorversion%.0_%updatever7%.msi REBOOT=Suppress JAVAUPDATE=%autoupdate% IEXPLORER=1 MOZILLA=1 WEB_JAVA_SECURITY_LEVEL=M CUSTOM=1'/>
<!-- suppression Java Quick Starter -->
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" "%PROGRAMFILES%\Java\jre7\bin\jqs.exe" -unregister'><exit code='any' /></install>
<!-- suppression Java Auto Update -->
<install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'><exit code='any' /></install>
<downgrade include="install" />
<upgrade include="install" />
<remove os=".+5\.[1-2]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F032170%updateverxp%FF}' />
<remove os=".+6\.[0-1]\.\d{4}" timeout='300' cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F32180%updatever7%F0}' />
</package>
Pour mémoire, la désinstallation de vieilles versions de JavaCode : Tout sélectionner<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142010}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142020}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142030}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142040}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142050}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142060}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142070}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142080}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142090}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142100}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142110}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142120}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142130}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142140}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142150}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142160}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150010}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150020}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150030}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150040}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150050}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150060}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150070}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150080}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150090}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150100}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150110}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150120}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150130}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150140}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160010}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160020}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160030}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160050}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160060}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160070}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216010FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216011FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216012FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216013FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216014FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216015FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216016FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216017FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216018FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216019FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216020FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216021FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216022FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216024FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216025FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216026FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216027FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216028FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216029FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216030FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216031FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216035FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216037FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216038FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F32180121F0}'><exit code='0' /><exit code='1605' /></install>
Pour installer Oracle Java 8 sous (x)Ubuntu (ajout Simon) :Code : Tout sélectionnersudo add-apt-repository -y ppa:webupd8team/java ; apt update ; sudo echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | sudo apt install -y oracle-java8-installer
(version libre = openjdk-8)
Gulp, ça fait peur, je ne sais pas si je vais oser. Mais qu'est-ce qui m'a pris de me mettre dans cette galère ?