This site requires JavaScript, please enable it in your browser!
Greenfoot back
AnJoMorto
AnJoMorto wrote ...

2021/2/16

Problems with GamePadTemplate in v.3.6.0

AnJoMorto AnJoMorto

2021/2/16

#
I've tried to use the GamePadTemplate proposed in the documentation with Greenfoot 3.6.0, but it seems to be outdated. I always gives me this error message: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$PlatformClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$PlatformClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at GamePad.<clinit>(GamePad.java:98) The line where at GamePad.java:98 is : final URLClassLoader cl = (URLClassLoader) parentCL; Has anyone else encounter this problem and find a solution or is there a new way to connect a game controller to a Greenfoot program? Or am I just loosing my time maybe... Any help will be appreciated
You need to login to post a reply.