So I have two files to compile into jar file: Testfield.class (which i make from Testfield.java via javac command) and manifest.txt.
Now I'm getting this noclassdeffounderror when im running my jar file in cmd
it goes as follows:
Exception in thread "main" java.lang.noclassdeffounderror: Testfield (wrong name: testfield/Testfield)
What's the deal ?
edit* Testfield.class file contains the following line:
Main-Class: Testfield