Lubuntu + java jdk10.1+Minecraft java

accoRuben

Aventurier
26 Juin 2018
9
0
1
Bonjour
J'ai acheté la version java de minecraft pour mon fils; j'ai donc récupéré un Minecraft.jar
Je suis sous Lubuntu , un Linux avec a priori un java jdk10.1
Quand je lance $java -jar Minecraft.jar j'ai finalement une erreur comme suit:
$ java -jar Minecraft.jar
Bootstrap (v5)
Current time is Jun 26, 2018, 8:29:44 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.15.0-23-generic'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '10.0.1'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'

Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 2/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 3/10)
Exception: java.net.SocketTimeoutException: connect timed out
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 4/10)
Exception: java.net.SocketTimeoutException: Read timed out
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 5/10)
Exception: java.net.SocketTimeoutException: connect timed out
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 6/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 7/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 8/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 9/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 10/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Unable to download remote file. Check your internet connection/proxy settings.
FATAL ERROR: net.minecraft.bootstrap.FatalBootstrapError: Unable to download while being forced
at net.minecraft.bootstrap.Bootstrap.execute(Bootstrap.java:95)
at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:381)


Please fix the error and restart.

J'ai essayé de trouver sur le net des lignes de commande qui débloque le java car il semble que ça soit ça et une histoire de certificats mais je coince toujours au meme stade .... Quelqu'un a une idée, merci !!!!!
 
J'avais déjà fait ça..... je l'ai refait...... pareil.. erreur

Bootstrap (v5)
Current time is Jun 27, 2018, 6:35:45 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.15.0-23-generic'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '10.0.1'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'

Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: java.net.SocketTimeoutException: connect timed out
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 2/10)
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
 
Minecraft fonctionne très bien sur un JDK 8.

Je vous conseille donc de désinstaller votre JDK actuel, d'ouvrir un terminal, et de lancer les commandes suivantes :
sudo apt update
sudo apt install openjdk-8-jdk

Code:
benjamin@BENJAMIN-DELL:~$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b11-1~deb9u1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
 
Comment avez-vous installé le JDK 10 ?

EDIT : Vous pouvez toujours essayer la commande suivante :
Code:
sudo apt remove openjdk-10
Si à l'issue de son exécution bash ne trouve plus la commande "java", alors vous pourrez installer le paquet openjdk-8-jdk via la commande :
Code:
sudo apt install openjdk-8-jdk
 
Dernière édition:
  • J'aime
Reactions: robin4002
Comment avez-vous installé le JDK 10 ?

EDIT : Vous pouvez toujours essayer la commande suivante :
Code:
sudo apt remove openjdk-10
Si à l'issue de son exécution bash ne trouve plus la commande "java", alors vous pourrez installer le paquet openjdk-8-jdk via la commande :
Code:
sudo apt install openjdk-8-jdk
install par defaut non?
 
j'ai reussi je pense a virer le jdk10 et a mettre le 8 avec vos lignes de commande , j'ai updaté les certificats....
les variables de depart ont changé 1.8.0_171 ... mais le resultat final est le meme, echec !
Bootstrap (v5)
Current time is Jun 27, 2018 9:24:11 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.15.0-23-generic'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.8.0_171'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'

Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma (try 2/10)