for school i have to make a game, together with 2 classmates. our group had to make something in Java, a language we never used before. we got ourselfs a little game now, but we can't seem to get it into a working .jar file nor a runnable jar. We use eclipse, but the .jar file created through export => jar file doesn't work. it doesn't do anything. (manifest file is totally empty) the runnable jar file is even worse, it says there is no main class selected, but when i try to set 'Main.class' as main class, then it's not in the list. (at advanced options for creating a runnable jar in Eclipse) i tried through cmd too, but then it couldn't find a manifest attribute... any help? my maps: -Smash'em All -.settings - bin -data (all my images and such) -Smash (all the .class files) -java.policy.applet - src -data (some old pictures, not the same as in the other data map) -Smash (all the .java files) - .classpath - .project
any idea how to make a runnable jar? and if i want to implement it in HTML, do i need a runnable or just a .jar file? EDIT: my lay-out doesn't seem saved? :( sorry, is my first post ever herer :(