![]() The point is to change "java" to whole path "C:\Program Files\Java\jdk1.8. On your computer path may be diffrent so if it doesn't work, just find the java.exe file and right click > Properites and paste a path into the server start file.Īlso be aware that exaples of commands which i gave here may not work for you. Java -server -Xm圆000M -Xms6000M -jar minecraft_server.1.12.2.jar nogui My minecraft server is hosted on version 1.12.2 Forge (Windows)įirst install Java development kit 8, and follow the video all the way to the end:Īfter that, in the server start file (.bat) instead of using: I had the same problem, and there's fix that worked for me. Any ideas? can't seem to figure out what's wrong.Ī problem occurred running the Server .InvocationTargetExceptionĪt java.base/.invoke(NativeMethodAccessorImpl.java:78)Īt java.base/.invoke(DelegatingMethodAccessorImpl.java:43)Īt java.base/.invoke(Method.java:567)Īt .n(ServerLaunchWrapper.java:70)Īt .ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)Īt .(Launch.java:34)Īt .main(Launch.java:28) Specifically, I am using version 291 of java 8) and that there are no other versions of the Java runtime installed (though there is a version of Java 16 development kit on my computer for whatever reason). (the error apparently indicates that it is running the wrong version of Java. I have made sure that Java 8 is installed and is the default runtime. "A problem occurred running the Server .InvocationTargetExceptionĪt java.base/.invoke0(Native Method)Īt java.base/.invoke( NativeMethodAccessorImpl.java:78)Īt java.base/.invoke( DelegatingMethodAccessorImpl.java:43)Īt java.base/.invoke( Method.java:567)Īt .n( ServerLaunchWrapper.java:70)Īt .ServerLaunchWrapper.main( ServerLaunchWrapper.java:34)Ĭaused by: : class $AppClassLoader cannot be cast to class ($AppClassLoader and are in module java.base of loader 'bootstrap')Īt .( Launch.java:34)Īt .main( Launch.java:28) I am trying to run a 1.12.2 forge Minecraft server but whenever I run it I get this error: I honestly have no idea why it's not working. I don't know if this is the right place to ask about my problem but the r/minecraftserver subreddit didn't have many people active so I thought I would post here as well as there. (#spoiler) = neat! (/rose) = ( full list) News Builds Gameplay Maps Tutorials Redstone Command Blocks FanArt Comment Formatting Use the wiki or community support for questions that can be answered there.Explain your suggestions with a text post.Don't promote illegal or unethical practices.Don’t advertise servers or communities.Restart the CurseForge app and try to launch your modpack(s) again.Trails & Tales 1.20 FAQ | Login/Stolen Account Problems | Technical Problems On /r/Minecraft If you are not a Windows admin user, you may not have a permission to continue the installation, and you will need to ask a system admin to assist you with the installation: *Please note that Java will be installed by default inside the system's Program Files directory. Download the latest Java version available here: (your operating system should be automatically detected, or you can choose it manually here: ).Please follow these steps to install the latest Java version: If you don't have Java installed on your system, you will likely receive the following Windows system message when trying to launch modpacks:īoth in this case, and in cases where you do have Java but are still experiencing issues running modpacks - installing the latest Java version can solve the issue. Java is required to run Minecraft modpacks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |