Jire / Overwatcheat

Free, open-source undetected color cheat!
GNU Affero General Public License v3.0
325 stars 91 forks source link

Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/foreign/MemorySession #309

Open waa344 opened 8 months ago

waa344 commented 8 months ago

Can anyone help me I'm not very good with PC's so this all makes no sense to me:

[main] INFO net.openhft.chronicle.core.Jvm - Chronicle core loaded from file:/C:/Users/willw/Downloads/Overwatcheat-5.1.0/Overwatcheat-5.1.0/build/Overwatcheat%205.1.0/Overwatcheat%205.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/foreign/MemorySession at org.jire.overwatcheat.nativelib.User32Panama.(User32Panama.kt:26) at org.jire.overwatcheat.aimbot.ToggleUIThread.(ToggleUIThread.kt:29) at org.jire.overwatcheat.Main.main(Main.kt:73) Caused by: java.lang.ClassNotFoundException: java.lang.foreign.MemorySession at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ... 3 more Press any key to continue . . .

gasthell commented 7 months ago

Try java19, I encountered the same problem, it can be solved with java19, someone gave this method before https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html

EdLovecraft commented 7 months ago

use jdk 19, only 19 works

Chinaholmesfans commented 7 months ago

C:\Users\xxx>java -version java version "19" 2022-09-20 Java(TM) SE Runtime Environment (build 19+36-2238) Java HotSpot(TM) 64-Bit Server VM (build 19+36-2238, mixed mode, sharing)

I face the same problem and Im sure I m using jdk19