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'ai regardé ce qu'etait snap... meme si je suis connecté avec mon compte ubuntu ca dit
Bad Gateway
user-not-ready

j'ai installé snap ....et fais comme ils disaient
 
C'est toujours la version officiel de Minecraft, mais packagé dans le format snap par les développeurs d'ubuntu.
En gros ça contient Minecraft + Java directement, il n'y a pas besoin d'installer d'autres dépendances.

Par contre là je ne vois pas quoi faire, je n'ai jamais vu ce problème :/
 
Les snap ? Tous est détaillés sur le site snapcraft.io, ce sont juste des applications comme les .deb sauf qu'ils sont packagés avec leur dépendance. Du-coup ils sont plus lourd mais il n'y a rien de plus à installer.
Plus, niveau sécurité il tourne dans un container isolé.