You need to give more details. Upload where? Here? What to put where for the class name? Itch.io doesn't care about the contents of .jar files. I assume you're working in Java, since you mention classes? Using what IDE?