Hey guys,
I want to submit my game to the Work in Progress, so I need to export the game.
So I made the jar, finished it off with JarSplice, ran it in cmd and suddenly this Exception occured:
C:\Users\TIMONDESKTOP>java -jar C:\Users\TIMONDESKTOP\Desktop\Jars\Nemesis.jar
Mon Aug 26 23:26:58 CEST 2013 INFO:Slick Build #237
Mon Aug 26 23:26:59 CEST 2013 INFO:LWJGL Version: 2.9.0
Mon Aug 26 23:26:59 CEST 2013 INFO:OriginalDisplayMode: 1920 x 1080 x 32 @60Hz
Mon Aug 26 23:26:59 CEST 2013 INFO:TargetDisplayMode: 1920 x 1080 x 32 @60Hz
Mon Aug 26 23:26:59 CEST 2013 INFO:Starting display 1920x1080
Mon Aug 26 23:26:59 CEST 2013 INFO:Use Java PNG Loader = true
Mon Aug 26 23:26:59 CEST 2013 INFO:Controllers not available
Exception in thread "main" java.lang.RuntimeException: Resource not found: resou
rces/spritesheets/birk_anim.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoa
der.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTex
tureLoader.java:185)
at org.newdawn.slick.Image.<init>(Image.java:192)
at org.newdawn.slick.Image.<init>(Image.java:166)
at org.newdawn.slick.Image.<init>(Image.java:154)
at org.newdawn.slick.Image.<init>(Image.java:132)
at nl.tdegroot.games.nemesis.gfx.Resources.<init>(Resources.java:36)
at nl.tdegroot.games.nemesis.Nemesis.init(Nemesis.java:34)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:393)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:317)
at nl.tdegroot.games.nemesis.RunGame.main(RunGame.java:14)
This means that I need to include class folder, but I have already done this in Eclipse and I can’t really find an alternative in IntelliJ(My main IDE).
Do you guys know how to kill this problem?
Thank you in advance!