I know this is a very common question, but I tried googling and got no helpful result. I\'m trying to make a jar out of my \"Main.class\" file (made in NetBeans, but I\'m not tr
Create a file called well, anything really, but we'll call it manifest.txt
Open manifest.txt and type:
Main-Class: Main
then to create your jar, type
jar cfm trovanum.jar manifest.txt *.class
And it should run fine.