Help With Minecraft And OpenJDK.....? :3

blackneos940

Active Member
Credits
67
Hello everyone!..... :3 Today I come to you with a new problem!..... :3 So this involves Minecraft, my ASUS X205TA, and OpenJDK!..... :3 I have the latest version installed, according to java --version and apt-get 's autocomplete thing..... :3 When I start Minecraft, the Launcher is stuck on "Loading Versions..."..... :< And the info about my Hardware is:

Code:
    description: Notebook
    product: X205TA (ASUS-NotebookSKU)
    vendor: ASUSTeK COMPUTER INC.
    version: 1.0
    serial: EANLBC07754842E
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
    configuration: boot=normal chassis=notebook family=X sku=ASUS-NotebookSKU uuid=B0BE1300-4E0E-2F33-FFFF-6CFAA732AB0C
  *-core
       description: Motherboard
       product: X205TA
       vendor: ASUSTeK COMPUTER INC.
       physical id: 0
       version: 1.0
       serial: BSN12345678901234567
       slot: MIDDLE
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: X205TA.212
          date: 09/04/2015
          size: 64KiB
          capacity: 960KiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb smartbattery biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: a
          slot: System board or motherboard
          size: 2GiB
          capabilities: ecc
          configuration: errordetection=multi-bit-ecc
        *-bank
             description: DIMM DDR3 1333 MHz (0.8 ns)
             product: Array1_PartNumber0
             vendor: A1_Manufacturer0
             physical id: 0
             serial: A1_SerNum0
             slot: A1_DIMM0
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
     *-cache:0
          description: L1 cache
          physical id: f
          slot: CPU Internal L1
          size: 224KiB
          capacity: 224KiB
          capabilities: internal write-back
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 10
          slot: CPU Internal L2
          size: 1MiB
          capacity: 1MiB
          capabilities: internal write-back unified
          configuration: level=2
     *-cpu
          description: CPU
          product: Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz
          vendor: Intel Corp.
          physical id: 11
          bus info: [email protected]
          version: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
          slot: SOCKET 0
          size: 1514MHz
          capacity: 2400MHz
          width: 64 bits
          clock: 83MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat cpufreq
          configuration: cores=4 enabledcores=4 threads=4
     *-pci
          description: Host bridge
          product: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
          vendor: Intel Corporation
          physical id: 100
          bus info: [email protected]:00:00.0
          version: 0f
          width: 32 bits
          clock: 33MHz
          configuration: driver=iosf_mbi_pci
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
             vendor: Intel Corporation
             physical id: 2
             bus info: [email protected]:00:02.0
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:32 memory:90000000-903fffff memory:80000000-8fffffff ioport:1000(size=8) memory:c0000-dffff
        *-generic
             description: Encryption controller
             product: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
             vendor: Intel Corporation
             physical id: 1a
             bus info: [email protected]:00:1a.0
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_txe latency=0
             resources: irq:35 memory:90700000-907fffff memory:90600000-906fffff
        *-usb
             description: USB controller
             product: Atom Processor Z36xxx/Z37xxx Series USB EHCI
             vendor: Intel Corporation
             physical id: 1d
             bus info: [email protected]:00:1d.0
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:30 memory:9080d000-9080d3ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 4.16.0-sound-31 ehci_hcd
                physical id: 1
                bus info: [email protected]
                logical name: usb1
                version: 4.16
                capabilities: usb-2.00
                configuration: driver=hub slots=8 speed=480Mbit/s
              *-usb
                   description: USB hub
                   vendor: Intel Corp.
                   physical id: 1
                   bus info: [email protected]:1
                   version: 0.15
                   capabilities: usb-2.00
                   configuration: driver=hub slots=4 speed=480Mbit/s
                 *-usb:0
                      description: Video
                      product: USB Camera
                      vendor: 04081-00092400E9669X
                      physical id: 1
                      bus info: [email protected]:1.1
                      version: 0.12
                      serial: 200901010001
                      capabilities: usb-2.00
                      configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
                 *-usb:1
                      description: USB hub
                      product: USB2.0 Hub
                      vendor: Genesys Logic, Inc.
                      physical id: 2
                      bus info: [email protected]:1.2
                      version: 32.98
                      capabilities: usb-2.00
                      configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
        *-isa
             description: ISA bridge
             product: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
             vendor: Intel Corporation
             physical id: 1f
             bus info: [email protected]:00:1f.0
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 6c:fa:a7:32:ab:0c
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmfmac driverversion=6.10.190.55 firmware=01-6cb01dcc ip=192.168.1.12 multicast=yes wireless=IEEE 802.11
And that's my Hardware info..... :3 Anywho, here's the output from my Grub 2 config, and below that, the relevant info from the Development Console in the Minecraft Launcher:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1 button.lid_init_state=open"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Code:
[20:04:58 INFO]: Launcher 3.5.1 started on linux...
[20:04:58 INFO]: Current time is May 30, 2018, 8:04:58 PM
[20:04:58 INFO]: System.getProperty('os.name') == 'Linux'
[20:04:58 INFO]: System.getProperty('os.version') == '4.16.0-sound-31'
[20:04:58 INFO]: System.getProperty('os.arch') == 'amd64'
[20:04:58 INFO]: System.getProperty('java.version') == '10.0.1'
[20:04:58 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[20:04:58 INFO]: System.getProperty('sun.arch.data.model') == '64'
[20:04:59 INFO]: JFX was not found at /usr/lib/jvm/java-11-openjdk-amd64/lib/jfxrt.jar
[20:04:59 INFO]: Downloading bg_main.png...
[20:04:59 SEVERE]: Failed to update news
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214)
    at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1974)
    at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1926)
    at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1909)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1436)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
    at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
    at net.minecraft.bootstrap.b.a(Unknown Source)
    at net.minecraft.launcher.ui.b.f$2.run(Unknown Source)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89)
    at java.base/sun.security.validator.Validator.getInstance(Validator.java:181)
    at java.base/sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:330)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:180)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:192)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133)
    at java.base/sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1947)
    at java.base/sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1777)
    at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:264)
    at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1098)
    at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1026)
    at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
    at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
    at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
    ... 8 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
    at java.base/java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
    at java.base/java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
    at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:86)
    ... 23 more

[20:05:00 INFO]: Refreshing local version list...
[20:05:00 INFO]: Refreshing remote version list...
[20:05:00 SEVERE]: Unexpected exception refreshing version list
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214)
    at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1974)
    at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1926)
    at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1909)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1436)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
    at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
    at com.mojang.launcher.a.a(Unknown Source)
    at net.minecraft.launcher.updater.RemoteVersionList.getContent(Unknown Source)
    at net.minecraft.launcher.updater.VersionList.refreshVersions(Unknown Source)
    at net.minecraft.launcher.updater.a.refreshVersions(Unknown Source)
    at net.minecraft.launcher.Launcher$2.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89)
    at java.base/sun.security.validator.Validator.getInstance(Validator.java:181)
    at java.base/sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:330)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:180)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:192)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133)
    at java.base/sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1947)
    at java.base/sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1777)
    at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:264)
    at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1098)
    at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1026)
    at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
    at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
    at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
    ... 16 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.base/java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
    at java.base/java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
    at java.base/java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
    at java.base/sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:86)
    ... 31 more

[20:05:00 INFO]: Loaded 1 profile(s); selected '(Default)'
Any ideas, guys.....? :3 It should also be pertinent to note that I CAN play Minetest and Doom, as well as Brutal Doom (through WINE), so it's not a graphics issue..... :\ Also, as you can tell, I'm running a modified Kernel..... :3 Have a good day, ok.....? :3
 


blackneos940

Active Member
Credits
67

blackneos940

Active Member
Credits
67
It's almost certainly something Java related. It looks like you're missing some libraries. A quick bit of duckduckgo-fu yielded this rather long winded page:
https://askubuntu.com/questions/225432/how-to-install-minecraft-client

Hopefully that will give you some ideas for fixing your install.
Hello again, good sir!..... :3 I did as you suggested, but the PPA didn't have a release File, nor did the .jar File download the necessary Files for Minecraft to run..... :< Here's the output of the .jar File from AWS..... :3

Code:
Bootstrap (v5)
Current time is May 30, 2018, 8:55:33 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.16.0-sound-31'
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: 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 4/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 5/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 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.
If you're scratching your head at this, I totally get it..... :3 If you can't find a way, it's ok..... :3
 

JasKinasis

Well-Known Member
Credits
4,341
Hello again, good sir!..... :3 I did as you suggested, but the PPA didn't have a release File, nor did the .jar File download the necessary Files for Minecraft to run..... :< Here's the output of the .jar File from AWS..... :3

Code:
Bootstrap (v5)
Current time is May 30, 2018, 8:55:33 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '4.16.0-sound-31'
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: 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 4/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 5/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 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.
If you're scratching your head at this, I totally get it..... :3 If you can't find a way, it's ok..... :3
Sorry, I didn't have much time to go through your post last night. I was too tired to go into much detail. I went to sleep soon after making my previous post.

The errors are from Java itself. So initially, I thought the problem could be one of two things:
1. Missing libraries or dependencies
2. The minecraft .jar file uses some classes that are incompatible with the open JDK.

The link I posted previously has a troubleshooting section which had a section about java throwing errors and which mentions installing a library called liblwjgl-java. So I thought perhaps that might be your problem.

However, from looking at YOUR set of error messages in more detail, it looks as your errors are related to the launchers attempts to download the game content via SSL.

So I've done a bit more searching and found this for you:
https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

There are a number of different solutions posted, but there is one post in that thread that is aimed at users of Ubuntu 18.04 based distros.

I don't use minecraft, so I can't really test this out. But from reading that thread - one thing to check is that you have the ca-certificates-java package installed.
Code:
apt policy ca-certificates-java
If it is NOT installed, try installing it:
Code:
sudo apt install ca-certificates-java
Then try running the minecraft launcher again.

If minecraft fails again (or if you already have ca-certificates-java installed) - you could try these commands:
Code:
sudo rm /etc/ssl/certs/java/cacerts
sudo update-ca-certificates -f
This will remove any cached java SSL certificates and will then update/re-build the cache.

Try Minecraft again and see if that fixes the issue.

If not:
Try this script from the Ubuntu 18.04 answer:
Code:
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you
# create that file from scratch, like Debian / Ubuntu do.
#
# Before applying, run your application with the Java command line parameter
#  java -Djavax.net.ssl.trustStorePassword=changeit ...
# to verify that this workaround is relevant to your particular issue.
#
# The parameter by itself can be used as a workaround, as well.

# 1. Save an empty JKS file with the default 'changeit' password for Java cacerts.
#    Use 'printf' instead of 'echo' for Dockerfile RUN compatibility.
/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts

# 2. Re-add all the CA certs into the previously empty file.
/var/lib/dpkg/info/ca-certificates-java.postinst configure
Try running the commands in the above script and then try minecraft and see if that fixes the issue.

If all of the above fails, the final thing I can think to try would be to run Minecraft.jar using a parameter to specify the trustStore path.

For your convenience, I've added a shebang line, so you could save this as a script. Then you won't have to manually type it each time you want to run it.
Call it minecraft, or minecraft-launch or start-minecraft, or whatever you want.
Save it somewhere in your path, perhaps in your personal bin directory (~/bin/), if you have one set up.
Code:
#!/usr/bin/env bash
java -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -jar /path/to/Minecraft.jar
And don't forget to make it executable with chmod +x /path/to/nameoffile

Where /path/to/nameoffile is whatever you decided to call it.

And if that fails - I'm completely out of ideas!
 

blackneos940

Active Member
Credits
67
Sorry, I didn't have much time to go through your post last night. I was too tired to go into much detail. I went to sleep soon after making my previous post.

The errors are from Java itself. So initially, I thought the problem could be one of two things:
1. Missing libraries or dependencies
2. The minecraft .jar file uses some classes that are incompatible with the open JDK.

The link I posted previously has a troubleshooting section which had a section about java throwing errors and which mentions installing a library called liblwjgl-java. So I thought perhaps that might be your problem.

However, from looking at YOUR set of error messages in more detail, it looks as your errors are related to the launchers attempts to download the game content via SSL.

So I've done a bit more searching and found this for you:
https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

There are a number of different solutions posted, but there is one post in that thread that is aimed at users of Ubuntu 18.04 based distros.

I don't use minecraft, so I can't really test this out. But from reading that thread - one thing to check is that you have the ca-certificates-java package installed.
Code:
apt policy ca-certificates-java
If it is NOT installed, try installing it:
Code:
sudo apt install ca-certificates-java
Then try running the minecraft launcher again.

If minecraft fails again (or if you already have ca-certificates-java installed) - you could try these commands:
Code:
sudo rm /etc/ssl/certs/java/cacerts
sudo update-ca-certificates -f
This will remove any cached java SSL certificates and will then update/re-build the cache.

Try Minecraft again and see if that fixes the issue.

If not:
Try this script from the Ubuntu 18.04 answer:
Code:
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you
# create that file from scratch, like Debian / Ubuntu do.
#
# Before applying, run your application with the Java command line parameter
#  java -Djavax.net.ssl.trustStorePassword=changeit ...
# to verify that this workaround is relevant to your particular issue.
#
# The parameter by itself can be used as a workaround, as well.

# 1. Save an empty JKS file with the default 'changeit' password for Java cacerts.
#    Use 'printf' instead of 'echo' for Dockerfile RUN compatibility.
/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts

# 2. Re-add all the CA certs into the previously empty file.
/var/lib/dpkg/info/ca-certificates-java.postinst configure
Try running the commands in the above script and then try minecraft and see if that fixes the issue.

If all of the above fails, the final thing I can think to try would be to run Minecraft.jar using a parameter to specify the trustStore path.

For your convenience, I've added a shebang line, so you could save this as a script. Then you won't have to manually type it each time you want to run it.
Call it minecraft, or minecraft-launch or start-minecraft, or whatever you want.
Save it somewhere in your path, perhaps in your personal bin directory (~/bin/), if you have one set up.
Code:
#!/usr/bin/env bash
java -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -jar /path/to/Minecraft.jar
And don't forget to make it executable with chmod +x /path/to/nameoffile

Where /path/to/nameoffile is whatever you decided to call it.

And if that fails - I'm completely out of ideas!
It works!..... :3 Specifically, the part with printf and re-adding the certs, I believe!..... :3 Also, I had to remove "incrementalcms" in the JVM Arguments in the Minecraft Launcher..... :3 Furthermore, I created an Intel-specific File that disables tearing in Xorg..... :3 Now, I see little-to-no tearing!!..... :3 Whoo-hoo!..... ^^ Now, I'mma play some Minetest soon..... :3
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
7,716
Beyond my paygrade, I will absorb it slowly through my skin o_O, but Jas is undoubtedly The Man :D

I will bookmark this thread in my Java section.

Glad you got a good outcome, @blackneos940 , enjoy ;)

Avagudweegend all

Wizard
 

JasKinasis

Well-Known Member
Credits
4,341
As always, I'm glad to have helped!

It wasn't an immediately obvious fix. I didn't know the answer offhand - But essentially all I did was a bit of duckduckgo-fu and then suggested some potential fixes I'd seen from people who had similar problems!

Good old duckduckgo and stack overflow! Every developers dream combo, heh heh!
 


Members online


Top