Posted July 29, 20187 yr 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!
July 29, 20187 yr While this may not be the direct cause of your issue here, that looks like a Java 9+ installation. You'll need Java 8 for Forge anyway, so you should try using Java 8 to start with.
July 29, 20187 yr Author Thanks for the reply, that did indeed cause the exception! Thanks for your help! Edited July 30, 20187 yr by FearTheNoob
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.