Minecraft Launcher 在 Lubuntu 18.04 LTS 中不起作用

Tyl*_*uim 3 lubuntu java minecraft 18.04

我通过 java 8 oracle 运行时运行 minecraft.jar,这是启动器给我的:

Bootstrap (v5)
Current time is May 2, 2018 12:13:19 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.15.0-20-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

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.
Run Code Online (Sandbox Code Playgroud)

我应该如何进行?

小智 6

这也是跳到我身上的错误......问题是Ubuntu 18.04 LTS具有Java JDK 11Minecraft无法运行该版本的Java......

最好的选择是安装Minecraft Premium Snap Launcher

首先确保您已安装快照支持:

sudo apt-get update
sudo apt-get install snapd
Run Code Online (Sandbox Code Playgroud)

如果这是新安装的snapd,您应该注销并重新登录,因为它添加了一个新的 shell 初始化脚本,其中包含 PATH 环境变量中的必要位置。snap否则,将找不到该命令。

sudo snap install minecraft
Run Code Online (Sandbox Code Playgroud)

另一种选择是返回到 Ubuntu 16.04(只要它受支持),它仍然随 Java 8 一起提供。