Jump to content

Recommended Posts

Posted

I have setup gradle for intellij, as the README.txt tells you to. I have generated the intellij runs, and have refreshed dependencies. After running minecraft client, I get the following error:

 

Exception in thread "main" java.lang.ClassNotFoundException: GradleStart

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:264)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)

Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

I understand what it means, and I'm pretty sure GradleStart isn't the right class to start minecraft with, but net.minecraft.Launcher.Launch isn't working. As a matter of fact, intellij doesn't recognize any of the vanilla packages at all for some reason.

Posted

Have you set the module for each run configuration?

 

I'd recommend following

to set up your IDEA project.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Ah, so my problem was not setting one part of the config for the application settings. Set "Use classpath of module" to <whatever>_main fixed everything. Thanks for linking that video!

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.