java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Bug #1743139 reported by
Marvin
This bug report is a duplicate of:
Bug #1739631: Fresh install with JDK 9 can't use the generated PKCS12 cacerts keystore file.
Edit
Remove
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
openjdk-9 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When trying to access anything using Java + HTTPS, the process is terminated with an java.security.
Either the trust store's password should be changed, or this flag sould be added by default.
To post a comment you must log in.
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-trustanch ors-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.