This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
This is probably a neverending, inexhaustable subject...
I'm trying to jar my game, and all is well until I try to run it. It runs like a charm when doing "java -jar Arkanoid.jar", but it seems my classes can't reach my images, contained in folder Images, and I can't double click on the jar file to start the game.
My game folder looks like:
arkanoid | -all classes -subfolder Images, contains all images. -subfolder src, contains all src.
in the arkanoid/ folder, I do the following:
jar cmf MANIFEST.MF Arkanoid.jar *.class Images src
MANIFEST.MF contains one row of text:
When I do this, I see that all images are compressed and put into the jar file, but why doesn't it work?