3

Java.lang.IllegalAccessError

Dankrani 2/15/23 1:25 pm history
2.8k
3/1/2023 5:27 am
Recently I """downgraded""" my system from Win11 to Win10, and now I can't boot my server, I sent it to a friend to try if he can and, indeed, it works on his computer.

The error code is this:

Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler
(in unnamed module @0x7fc2413d) cannot access class sun.security.util.ManifestEntryVerifier
(in module java.base) besause module java.base does not export sun.security.util to unnamed
module @0x7fc2413d
This only happens with the forge version, the vanilla one goes fine.
Posted by
Dankrani
Level 1 : New Miner
2

  Have something to say?

JoinSign in

10

El_Topo
02/15/2023 1:39 pm
Level 1 : New Miner
history
I'm darkrai's friend, and I've checked that we have the same version of java,
we have the same one,
the only thing that differentiates one computer from another are the components
and the internet connection,
I don't think either of these two has any relevance.
3
TheKniffer
02/15/2023 1:45 pm
Level 1 : New Miner
You may have the same version, but the files could have gone corrupted.
1
Cyan4Wolf
02/15/2023 1:40 pm
Level 1 : New Miner
hello
1
TheKniffer
02/15/2023 1:42 pm
Level 1 : New Miner
Hey there Dan, it seems when you downgraded, you instaled another instance of Java! Java is a main motor of minecraft, if you have two, they collide.
   It seems the fix for your issue would be reinstaling Java
  Start by getting rid of old java versions. START>CONTROL PANEL>UNINSTALL PROGRAM>JAVA. Or by using the uninstaller in java directory.
When done, restart your device, and download java here! = https://www.java.com/en/download/
   After instaling, restart again and try to launch the server.
   If the problems persists, feel free to give me feedback.

Have a good day, Jack
2
Dankrani
02/15/2023 1:56 pm
Level 1 : New Miner
I can't belive it, I reinstalled Java twice and still not working, but now, it did, i love you, TheKniffer.
2
Dankrani
02/15/2023 1:56 pm
Level 1 : New Miner
Also i'm kinda stupid, I think
2
A Lost Boy
02/15/2023 1:47 pm
He/They • Level 33 : Artisan Explorer Magical Boy
history
hm... I don't know much about it, but what version of Minecraft are you guys using? Also, what version of Java? if you google sun.security.util.ManifestEntryVerifier you can see that there are a few people with the exact same problem... maybe you'll find something. Good luck to you.
1
El_Topo
02/15/2023 1:52 pm
Level 1 : New Miner
We are using the latest version of java and the minecraft version is 1.16.5,
the best thing is that the server starts on my pc,
but the server does not start on your pc.
1
A Lost Boy
02/15/2023 2:48 pm
He/They • Level 33 : Artisan Explorer Magical Boy
Forge may not like the newest version of Java... but then again, if it runs on one computer just fine, it shouldn't be an issue. Have y'all tried reinstalling Forge/minecraft? The world should be fine... it's probably just Forge
1
Dankrani
02/15/2023 1:56 pm
Level 1 : New Miner
And now: how do I close the thread?
1

Welcome