So I have a jar, and I use it like this:
java -jar horde.jar
And I get that error. I looked at the manifest, and verified that the main-class existed. I am using jar splicer to make fat jars. What is wrong?!
it is of course not there were it should be, because you get thsi error.
you could show us the file tree and the manifest if you need further help
Main Class / Manifest-path might be in the wrong subfolder.
example:
Manifest:
Main-Class: com.mygame.hordeMainClass
then the main class should be in the subfolder
/com/mygame
and the manifest of course in the META-INF folder
I’m hoping you just made a mistake in the typing the file has to be compiled and would be .class
so make sure Main.class exists not .java