Jump to content

[Resolved] 1.18 M1 Mac Fails to runClient -> com.mojang.blaze3d.systems.RenderSystem


AirPeach

Recommended Posts

Hello!

I started utilizing the latest MDK 1.18 version, I am receiving errors when initializing my project under this MDK. 
Yesterday, I was operating on the 1.16.5 MDK just fine. 

The specific error I am receiving is below. 

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem

debug.log

latest.log

I have deleted my entire project several times, redownloaded both latest and stable MDK for 1.18 and I end up receiving the entire error. 

I am utilizing the temurin-17 JDK as suggested here.

Searching in relation to the error provides some searches along with M1 MacBook issues. It is worth mentioning that I am utilizing an M1 MacBook.

Any assistance is appreciated.

 

 

 

 

Edited by AirPeach
Edit name of post
Link to comment
Share on other sites

I found another issue on this forums related to this here

In an effort not to reopen their issue and contribute myself here is how I solved this particular problem. I can confirm that there does appear to be an issue with the JDK and the resolve for now is in Minecraft's bundled JRE.

 

1.) Download vanilla Minecraft launcher from here.
2.) Execute the launcher, sign in and run the Minecraft instance. 
3.) Using Finder, Navigate to /Users/YOURUSERNAME/Library/Application Support/minecraft/runtime/java-runtime-beta/mac-os/java-runtime-beta/
4.) Duplicate jre.bundle.
5.) Copy this bundle to your project folder and right click -> show package contents
6.) Copy the contents of the package into a folder of your choice in your project ( I used /project/jre )
7.) In intelliJ, in the top menu choose Run -> Edit Configurations
8.) Under Application -> runClient, change the first dropdown that says Java17 to the folder you created and select the /jre/home folder.
9.) Build & Run! Victory.

 

 

Thank you to jhkjhkjn from the prior mentioned forum post for getting me on the right track.

Edited by AirPeach
  • Thanks 1
Link to comment
Share on other sites

  • AirPeach changed the title to [Resolved] 1.18 M1 Mac Fails to runClient -> com.mojang.blaze3d.systems.RenderSystem

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.



×
×
  • Create New...

Important Information

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