I have this problem.
I wrote a simple code in NetBeans and when I try run it, it works. But when I write this same code (or another in where I use constructor for main class)in notepad and try it run via command line ("java.exe ..." I got this message:
'Exception in thread "main" java.lang.NoClassDefFoundError:evidencia (wrong name: evidencia)'
(where evidencia is name of class that contain main method)
I wrote a simple code in NetBeans and when I try run it, it works. But when I write this same code (or another in where I use constructor for main class)in notepad and try it run via command line ("java.exe ..." I got this message:
'Exception in thread "main" java.lang.NoClassDefFoundError:evidencia (wrong name: evidencia)'
(where evidencia is name of class that contain main method)