I have my game uploaded on Itch.io. It executes, but on one of my systems, I get this in the log:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jme3.util.ReflectionAllocator (file:/C:/Users/asser/AppData/Roaming/itch/apps/Subspace%20Infinity/libs/jme3-core-3.2.3-stable.jar) to method sun.nio.ch.DirectBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of com.jme3.util.ReflectionAllocator
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Logged here:
And my game just wont let the client attach:
But if I try from my laptop, it works just fine (also from Itch.io)…
C:\Windows\system32>java -version
java version “1.8.0_201”
Java™ SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot™ 64-Bit Server VM (build 25.201-b09, mixed mode)
working system:
C:\Windows\system32>java -version
java version “1.8.0_211”
Java™ SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot™ 64-Bit Server VM (build 25.211-b12, mixed mode)
If I run the game from the SDK it works (on the system where itch.io fails)
tbh yes that issue is because latest java versions try to lock us out on reflective access to internal buffers, but that’s only a warning, it should NOT be the source of the ConnectionException, for that you might have to dig into application.log.
Okay, but my issue is solved when removing OpenJDK (v11), and running with jdk 1.8. I dont want to re-install OpenJDK and re-introduce the issue to dig any further