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

Опубликовано: 03 Ноябрь 2017
на канале: 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