1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wierd Java Bullsand

Discussion in 'Crashed!' started by Aremis, Sep 22, 2015.

  1. Aremis

    Aremis Member

    Joined:
    May 31, 2014
    Messages:
    339
    Likes Received:
    16
    Trophy Points:
    18
    Hey I'm trying to run some basic java games and failing at it. Minecraft doesn't give me an error but starmade managed to give me this. SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    I can't find anything behind what this means but I know it has to do with SSL certs and something with my java install. Any ideas?
  2. Aremis

    Aremis Member

    Joined:
    May 31, 2014
    Messages:
    339
    Likes Received:
    16
    Trophy Points:
    18
    I got a fix. If you have any other java installed then you do this line

    sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java8-installer
  3. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,284
    Likes Received:
    614
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    So you basically updated Java?
  4. Aremis

    Aremis Member

    Joined:
    May 31, 2014
    Messages:
    339
    Likes Received:
    16
    Trophy Points:
    18
    Sort of. Lately the installs for java haven't been done correctly so doing it this way forces all the files to be mad and put in the correct places, then, anything else like new certs and whatnot are downloaded.
  5. Daerandin

    Daerandin Well-Known Member

    Joined:
    Oct 18, 2013
    Messages:
    1,134
    Likes Received:
    244
    Trophy Points:
    63
    Location:
    Northern Norway
    Home page:
    I have never had any issues using open source java, instead of oracle's java, with Minecraft, both on Arch and the Linux Mint computer I set up for a cousin.
    Aremis likes this.
  6. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,284
    Likes Received:
    614
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    When I have used Ubuntu 14.04 or Mint 17, OpenJDK is already installed. I think its version 7
    I was able to run Spiral Knights & Kingdom of Loot without any problems
  7. Daerandin

    Daerandin Well-Known Member

    Joined:
    Oct 18, 2013
    Messages:
    1,134
    Likes Received:
    244
    Trophy Points:
    63
    Location:
    Northern Norway
    Home page:
    I have been able to run Minecraft with OpenJDK7 on Mint, and both OpenJDK 7 and 8 on Arch without any issues. I wonder how you have installed Java. If you install it normally from the official repository of whatever distro you are using, then it should work.
  8. Aremis

    Aremis Member

    Joined:
    May 31, 2014
    Messages:
    339
    Likes Received:
    16
    Trophy Points:
    18
    It works now, I'm not going to question it.

    Now I just need PlayOnLinux to stop being stupid
  9. Gizmo

    Gizmo Chief Site Administrator Staff Member

    Joined:
    Dec 6, 2012
    Messages:
    2,233
    Likes Received:
    156
    Trophy Points:
    63
    Location:
    Webb City, Missouri
    Home page:
    I've had limited success getting OpenJDK to reliably work with applications. 'Course, the last time I really tried was probably a year ago, so I don't know if the compatibility has gotten better or not.

Share This Page