简体   繁体   English

当我在 eclipse 中运行时 Forge 不工作

[英]Forge not working when i hit run in eclipse

I'm using forge version 1.16.5-36.1.24 and when I run the game it always gives this error.我正在使用 forge 版本 1.16.5-36.1.24,当我运行游戏时它总是会出现此错误。 It worked before I reinstalled windows on my PC.在我在我的电脑上重新安装 windows 之前它起作用了。 I also use java JDK 1.8.0_301我也用 java JDK 1.8.0_301

Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x69379752) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x69379752

So, I figured it out.所以,我想通了。 I need to go to Window > Preferences > Java > Installed JREs > and select Java JDK 1.8.0_301我需要 go 到 Window > Preferences > Java > Installed JREs > and select Java JDK 1.8.0_301

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 每当我碰到运行eclipse时,它都会给出先前运行程序的价值 - Whenever I hit run eclipse it gives value of previous run program 当我运行`./gradlew wrapper`时,Minecraft Forge hat 导致这个错误? - Minecraft Forge hat is causing this error when I run `./gradlew wrapper`? 当我在 NetBeans 中点击运行时,我的 GUI 不会显示 - My GUI will not display when I hit run in NetBeans 通过Eclipse运行时拖放不起作用 - Drag and Drop not working when run via Eclipse 在eclipse,cmd和jar中运行时的工作目录 - Working directory when run in eclipse, cmd, and jar 即使选择“运行”而不是“调试”,Eclipse断点也会受到攻击 - Eclipse breakpoints being hit even when choosing “Run” rather than “Debug” 当我点击菜单项时,菜单项不起作用 - Menu Items not working when i hit menu items 在 Eclipse 中使用 OpenGL 运行此代码时,我不断收到此错误 - I keep getting this error when I run this code while working with OpenGL in Eclipse List.get(0)在Eclipse的表达式窗口中工作正常,但是当我运行我的代码时,它将抛出classcasteexception - List.get(0) working fine in expressions window of eclipse but when I run my code it throws classcasteexception Apache POI Java程序在IDE(Eclipse)中运行良好,但是当我尝试将其作为可运行的jar运行时遇到NoClassDefFoundError - Apache POI Java program working fine in IDE (Eclipse) but encounter NoClassDefFoundError when I tried to run it as a runnable jar
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM