Estou criando meus projetos no bloco de notas.
E compilando no prompt do Dos
Exception in thread “main” java.lang.NoClassDefFoundError: MyFirstApp/class
Caused b: java.lang.ClassNotFoundException: MyFirstApp.class
at java.net.URLClassLoader$1.rum
at java.security.AccessController.doPrivileged
at java.net.URLClassLoader.findClass
at java.lang.ClassLoader.loadClass
at sun.misc.launcher$AppClassLoader.loadClass
at java.lang.ClassLoader.loadClass
at java.lang.ClassLoader.loadClassInternal
Could not find the main class: MyFirstSApp.class. Program will exit.