I finished my program and now i am trying to create a jar file to run it from, but when i try to do so, nothing happens, no error, not execution, no nothing.This is the path: D:\Eclipse\workspace\Game\src\AppPackage I compiled my class D:\Eclipse\workspace\Game\src\AppPackage javac Game.java Created my manifest and jar file : echo Main-Class: Game >manifest.txt and jar cvfm Game.jar manifest.txt *.class
This is how i add a image from the images folder :
field.setIcon(new ImageIcon("images/8.png"));
java -jar Game.jar
from the command line? – Jon Skeet