Hello. I am trying to run .java-files from cmd. First i type: "javac filename.java" to make it into a .class-file. This works fine, but when i try to run the .class file typing: "java filename" i get an error message:
Exeption in thread "main" java.lang.NoClassDefFoundError: filename
Do you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.