openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12901
[Bug 1743139] Re: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
I have been able to replicate this bug. It becomes apparent when
attempting to run Minecraft.jar, the official Minecraft Java client
under OpenJDK 9 on a fresh install of Ubuntu Mate 18.04 Beta 2.
https://i.imgur.com/HRzRl8J.png
I was able to find a solution though it isn't a proper fix. Purge all
related packages and install the older openjdk-8-jre first, then an
newer version on top of it. It looks like the default packages are not
installing the certificates properly.
See https://askubuntu.com/questions/971059/17-10-openjdk-and-oracle-
jdk-8-and-9-the-trustanchors-parameter-must-be-non-empt under amb85.
Ubuntu MATE 18.04 includes a ppa in the Software Boutique which installs
Minecraft, but it runs into the same issue as using Minecraft.jar from
Mojang's website.
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1743139
Title:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty
Status in openjdk-9 package in Ubuntu:
Confirmed
Bug description:
When trying to access anything using Java + HTTPS, the process is
terminated with an java.security.InvalidAlgorithmParameterException.
Adding -Djavax.net.ssl.trustStorePassword=changeit to the command line
flags of java fixes this problem.
Either the trust store's password should be changed, or this flag
sould be added by default.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1743139/+subscriptions
References