Jump to content

Forge Installer Linux crash: Can not initialize cryptographic mechanism


FearTheNoob

Recommended Posts

Hi all,

 

trying my first Forge installation on my Linux machine but keep running into an exception while installing "java3d:vecmath". Stacktrace is this:

 

Downloading library java3d:vecmath:1.5.2
Exception in thread "main" java.lang.ExceptionInInitializerError
    at java.base/javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:66)
    at java.base/javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2610)
    at java.base/javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2634)
    at java.base/sun.security.ssl.CipherSuite$BulkCipher.isUnlimited(CipherSuite.java:602)
    at java.base/sun.security.ssl.CipherSuite$BulkCipher.<init>(CipherSuite.java:574)
    at java.base/sun.security.ssl.CipherSuite$BulkCipher.<clinit>(CipherSuite.java:460)
    at java.base/sun.security.ssl.CipherSuite.<clinit>(CipherSuite.java:1074)
    at java.base/sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuiteList(SSLContextImpl.java:354)
    at java.base/sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:42)
    at java.base/sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:590)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:292)
    at java.base/java.security.Provider$Service.getImplClass(Provider.java:1844)
    at java.base/java.security.Provider$Service.newInstance(Provider.java:1820)
    at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
    at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
    at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:169)
    at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:99)
    at java.base/javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:123)
    at java.base/javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:335)
    at java.base/javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:292)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:86)
    at java.base/sun.net.www.protocol.https.Handler.openConnection(Handler.java:62)
    at java.base/sun.net.www.protocol.https.Handler.openConnection(Handler.java:57)
    at java.base/java.net.URL.openConnection(URL.java:1051)
    at net.minecraftforge.installer.DownloadUtils.downloadFile(DownloadUtils.java:371)
    at net.minecraftforge.installer.DownloadUtils.downloadInstalledLibraries(DownloadUtils.java:64)
    at net.minecraftforge.installer.ClientInstall.run(ClientInstall.java:131)
    at net.minecraftforge.installer.InstallerAction.run(InstallerAction.java:43)
    at net.minecraftforge.installer.InstallerPanel.run(InstallerPanel.java:406)
    at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:165)
    at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:51)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
    at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:118)
    ... 32 more
Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited
    at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:324)
    at java.base/javax.crypto.JceSecurity.access$000(JceSecurity.java:73)
    at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:109)
    at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:106)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:105)
    ... 32 more

 

Looks like he cannot download from a https source. Anyone have an idea what I can do?

 

Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.