0

What I have done:

I have made i minecraft mod that uses slick2d. I have compiled it into a .jar file. I put the .jar file in the foleder with the appropriate json file. I put that folder into the versions foleder inside .minecraft on my pc.

My problem:

When I try to run the instalation with the minecraft launcher it runs for a few seconds and the mojang loading screen appeares and after a second it crashes. The launcher gives me this error:

The game crashed whilst initializing game Error: java.lang.NoClassDefFoundError: org/newdawn/slick/SlickException Exit Code: -1

I am not sure if I linked the slick.jar file correctly because I cant find any tutorials or anything on the internet. Any help will be appriciated, thanks.

  • 2
    Possible duplicate of [Why am I getting a NoClassDefFoundError in Java?](https://stackoverflow.com/questions/34413/why-am-i-getting-a-noclassdeffounderror-in-java) – pppery Mar 19 '22 at 02:05

0 Answers0