How do I run a Java compiler?

Type ‘javac MyFirstJavaProgram. java’ and press enter to compile your code . If there are no errors in your code, the command prompt will take you to the next line (Assumption: The path variable is set). Now, type ‘ java MyFirstJavaProgram ‘ to run your program.

Sizin İçin Seçtik  400 tl'ye kaç EUR eder?

Leave a Reply

Your email address will not be published. Required fields are marked *