Tags: java program compile execute how to compile java program how to run java program in command prompt how to compile java program in command prompt how to run java program how to run java program in notepad java java tutorial java programming my first java program hello world java program java programming for beginners techlearners neeraj neeraj saxena techlearners by neeraj saxena java hello world notepad java hello world cmd core java tutorial for beginners
#techlearners #java #compile
The tutorial is about, how to compile and execute java program. To write java program notepad is used as editor. To compile javac command is used on command line. To execute java program, on command prompt, java command is used.
or
Question
Thank u very much, ur teaching help me a lot, u save my childrens life sir
you dont have to go to the bin folder to save and run a java file.Please correct it
class Thankyou
{
public static void main(String args[])
{
System.out.print("Thank You Very Much");
}
}
😊😊😊😊
Whenever i type save file at jdk file/bin windows says "you don't have the permission to save in this location . Contact the administrator to obtain permission"
With your experience and knowledge can you tell me how to fix this ?
Appreciate your valuable time , thanks .
Sir why you told run as administrator what is the reason behind it?
Thank u so much 🤩 sir u helped me a lot I executed first program in my life
Error.could not find or load main class java program
Caused by java.lang.classnotfoundexception:java program.....
What to do
I am old and love to learn coding ..pleSe guide me with this error
A small mistake is there in ur programme i.e, class name must be started with capital letter(upper case )
Because java is case sensitive
Thanks! for this tutorial now i know how to run my life.
Sir while compiling it is showing that please remove or make sure it appears in the correct subdirectory of the classpath
How to solve this plz reply me sir?