Jump to content

Error when runClient is ran on IntelliJ


Caleb Chervenka

Recommended Posts

When I run runClient in IntelliJ (1.15.2 forge mdk), it responds with a "> Process 'command 'C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe'' finished with non-zero exit value -1" error. 

 

 

Time: 4/16/20 11:55 AM Description: Initializing game java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer; at net.minecraft.client.MainWindow.loadIcon(MainWindow.java:188) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MainWindow.setWindowIcon(MainWindow.java:152) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.<init>(Minecraft.java:380) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:141) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraft.client.MainWindow.loadIcon(MainWindow.java:188) at net.minecraft.client.MainWindow.setWindowIcon(MainWindow.java:152) at net.minecraft.client.Minecraft.<init>(Minecraft.java:380) -- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_242, AdoptOpenJDK Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Memory: 350904920 bytes (334 MB) / 1054343168 bytes (1005 MB) up to 1873805312 bytes (1787 MB) CPUs: 8 JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump Launched Version: MOD_DEV Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 417.35, NVIDIA Corporation GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) CPU: <unknown> [16Apr2020 11:55:42.084] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:printToSYSOUT:109]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Caleb Chervenka\Documents\Forge+Java\D&DMod\run\.\crash-reports\crash-2020-04-16_11.55.42-client.txt

Link to comment
Share on other sites

I am having the same issue. Looking online everyone says that it is because we have compiled with the wrong version of java. But, after looking at java documentation the method rewind for bytebuffer is included in Java 9. I thought we needed Java 8 for minecraft? Not sure, but I will be installing Java 9 and trying it and I will come back with results.

Link to comment
Share on other sites

2 minutes ago, Dizzylizard22 said:

I am having the same issue. Looking online everyone says that it is because we have compiled with the wrong version of java. But, after looking at java documentation the method rewind for bytebuffer is included in Java 9. I thought we needed Java 8 for minecraft? Not sure, but I will be installing Java 9 and trying it and I will come back with results.

Installing Java 9 was successful! hope this works for you pal!

  • Thanks 1
Link to comment
Share on other sites

Thanks for the info, I've been stuck on this for a while. Btw, kind of unrelated, but is there a way to download jdk & jre 9 without an Oracle Account? I'd rather not go through the hassle of that if it isn't needed. I'll keep this thread open in case anyone else has something to add, but I'll edit this is it turns out Java 9 works

*Just read your second post, thanks so much! I've spent about a week on this, and it's nice to know it's not just me.

Edited by Caleb Chervenka
Link to comment
Share on other sites

1 minute ago, Caleb Chervenka said:

Thanks for the info, I've been stuck on this for a while. Btw, kind of unrelated, but is there a way to download jdk & jre 9 without an Oracle Account? I'd rather not go through the hassle of that if it isn't needed. I'll keep this thread open in case anyone else has something to add, but I'll edit this is it turns out Java 9 works

*Just read your second post, thanks so much! I've spent about a week on this, and it's nice to know it's not just me.

Yes!! I have always had trouble just setting up my enviornment for modding. Finally happy to have it launch at least! Also, I would just go with making an Oracle account instead of looking for some sketch download link. 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.