How to RUN JAVA program in Mac OS Terminal (CMD) .

Publié le: 28 juin 2019
sur la chaîne: Programming Points
75
4

FIRST go to Sublime text or any text Editor, then write JAVA program (CUI/GUI) any of them if you can, then Save as .Java EXTENSION anywhere of the Mac eg desktop, music, in any folder.
Then open terminal and type cd Name of the location eg :- cd Desktop, Press return/Enter
Now type javac file name with extension, press enter after few second if no error found then type Java classname eg:- java Hello (without extension). The output will be shown.


Sur cette page du site, vous pouvez voir la vidéo en ligne How to RUN JAVA program in Mac OS Terminal (CMD) . durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Programming Points 28 juin 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 75 fois et il a aimé 4 téléspectateurs. Bon visionnage!