How To Run Java Code in NotePad and Command Prompt Example Simple

Published: 03 November 2017
on channel: My app dev
604
1

How To Run Java in NotePad and Command Prompt -Java Programming.Basic Java Programming Tutorial.This is just Practice
Now, open Command Prompt. You can open it on Windows 8 by going into the start menu, then type, "Command Prompt" then click the program titled "Command Prompt". For older versions of windows, click the start button, then go to All Programs-Accessories-Command Prompt. Once you have it open, go to the file destination of the .java file. Then, type, "dir", it will bring up everything in the directory. Now, type, "javac ____.java". Replace the blank space with your program's name. Now, type, "java ____". Again, replace the blank with your program's name, and remember not to type, ".java" at the end this time. It should then successfully open your program.

If you get an error when typing "javac" then you have to set some things up before you can build java files.

.If like this share ,commments and like

google plus : https://plus.google.com/u/0/communiti...
facebook page:
  / java-and-android-programming-1950712085252719  
Youtube:    / @myappdev3360  


On this page of the site you can watch the video online How To Run Java Code in NotePad and Command Prompt Example Simple with a duration of hours minute second in good quality, which was uploaded by the user My app dev 03 November 2017, share the link with friends and acquaintances, this video has already been watched 604 times on youtube and it was liked by 1 viewers. Enjoy your viewing!