Git Product home page Git Product logo

Comments (5)

lucasluqui avatar lucasluqui commented on July 21, 2024

Fixed in upcoming 2.0 release. I sadly don't have any Linux system available to test the changes but please let me know if things are solved.

from knightlauncher.

DeinAlptraum avatar DeinAlptraum commented on July 21, 2024

As mentioned, KL wouldn't compile for me unfortunately, but I'll test once there's a release

from knightlauncher.

DeinAlptraum avatar DeinAlptraum commented on July 21, 2024

I had only tested with 7u80 so far, and it seems that there's some trouble with 8u202 & 8u251: the game crashes with the following error in projectx.log

Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.lucasallegri.bootstrap.ProjectXBootstrap.main(ProjectXBootstrap.java:78)
Caused by: java.lang.ExceptionInInitializerError
	at javax.crypto.Cipher.getInstance(Cipher.java:518)
	at com.threerings.presents.b.d.a(SourceFile:89)
	at com.threerings.presents.b.d.a(SourceFile:202)
	at com.threerings.presents.client.Client.bG(SourceFile:236)
	at com.threerings.projectx.client.ProjectXApp.<init>(SourceFile:378)
	... 5 more
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
	at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:93)
	... 10 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed.)
	at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:328)
	at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:378)
	at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:323)
	at javax.crypto.JceSecurity.access$000(JceSecurity.java:50)
	at javax.crypto.JceSecurity$1.run(JceSecurity.java:85)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:82)
	... 10 more

After uncommenting the line crypto.policy=unlimited on line 829 in java_vm/lib/security/java.security, I was able to start the game normally, for both 8u202 and 8u251
(I tested all of this with a fresh install of SK every time, on the 2.0-PRE1 release)

from knightlauncher.

lucasluqui avatar lucasluqui commented on July 21, 2024

All Java VMs on KL's CDN have been updated to contain this patch, it might take a few hours until the cached versions are updated.

from knightlauncher.

DeinAlptraum avatar DeinAlptraum commented on July 21, 2024

Tested and looks good 👍🏼

from knightlauncher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.