
If you are wondering why we download Java from Oracle, then the following excerpt from Wikipedia will help: Java is a set of computer software and specifications developed by James Gosling at Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment.

I will be using Windows 11 in this article, but the same method is applicable for the other versions of the Windows operating system as well.

But fear not! I will cover everything you need to know to prepare your Windows computer fully for running Java programs. If you are a beginner trying to learn how to run Java programs in your Windows operating system, then you might face difficulties installing Java correctly on your computer.

The JDK also contains the Java Runtime Environment (or JRE) which is the core of a Java program. If you want to run any Java program on your Windows PC, you won't be able to do it without installing the Java Development Kit (JDK for short).
