![]() ![]() step 3 need to compile this java file from the command prompt using javac command. step 2 need to save this java file in a folder with " demo.java " and it can be saved in a folder. Step 1 need to create a java program either in notepad or other ide. step 6: open notepad and create file with. now you are ready to run your first java program. Step 5: now, we need to check java jdk is installed properly or not using cmd. 4th step: compile the file using java compiler command javac yourfilename.java. 3rd step: set the path of jdk and locate the file on command prompt. 1st step: type the java code in notepad and save in a specific folder with extension. step 4: to compile and run a java program, open the command prompt by pressing windows key r, type cmd and press enter key or click on the ok button. in the next step, we will compile and run the java program. Now, we have created and saved the java program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |