Posted May 30, 20223 yr So, I'm new to modding Minecraft, but not coding in Java. I downloaded the forge mdk 1.18.2-40.1.0. I ran genIntellliJRuns, and it builds just fine, but when I run runClient, it gives me this error: Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized option: -p I am using: jdk-8.0.332.9 from Eclipse Adoptium Windows 11 IntelliJ Community Version 2021.2, 64 Bit Please help.
May 31, 20223 yr Author Okay, so I installed Java 17 (jdk 17.0.3_7), and now I get two different error messages (FOLDER is just a stand-in for my directory): Caused by: java.io.IOException: Invalid paths argument, contained no existing paths: [D:\FOLDER\ModTest\build\resources\main, D:\FOLDER\ModTest\build\classes\java\main] AND Execution failed for task ':runClient'. > Process 'command 'C:\Users\USER\.gradle\jdks\adoptium-17-x64-hotspot-windows\bin\java.exe'' finished with non-zero exit value 1 What's happening? EDIT: I moved this to a different forum post. Edited May 31, 20223 yr by ShadowProgrammer I moved this to a different forum post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.