How to Compile and Execute a Java Program? | GeeksforGeeks

preview_player
Показать описание
Do you know, Java involves a two-step execution - first through an OS-independent compiler and second, in a virtual machine (JVM) which is custom-built for every operating system. In this video, we're going to discuss how to compile and execute a Java Program along with knowing various underlying mechanisms and components of Java. So, let's get started.

Check Out the Related Article:

00:00 Let's Start
00:23 What is JDK, JRE, and JVM?
01:33 How to Install JDK and Write a Java Program?
05:19 Compiling a Java Program Using Command Line
06:05 Executing a Java Program Using Command Line
06:51 Executing a Java Program Using IDE
09:31 Executing a Java Program Using an Online IDE
10:14 Summary

This video is contributed by Amrit Anand.

Please Like, Comment, and Share the Video among your friends.

#java #jre #jvm #jdk #corejava #javabasics #learnjava #javadeveloper

Install our Android App:

If you wish, translate into the local language and help us reach millions of other geeks:

Follow us on our Social Media Handles -

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

On this video skipped one important thing to add java/JDK 16/bin folder to path...and JAVA_HOME environment

balachandar
Автор

ok so my machine is ready to compile and execute Java Programs.. thnks

ashwanikumarsingh