Java program not running in command prompt
Hi until February every code of java was compiling and running through cmd (Command Prompt) successfully
But after that i can compile the code but I' am not able to run my any of the code.When i run my code it will show an error
"Error: Could not find or load main class abc"
At first my lecturers told it often happen some times but now its showing whenever i try to run my program.Because of that i'm using netbeans to run my program
Please help to run my program through cmd
Re: Java program not running in command prompt
Can you copy the full contents of the console window from when you execute the program that shows the command you are entering and the full text of the error message? Also enter the dir command to show what files are in the folder.
On Windows: To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'