How to install Amazon Corretto 21 in Windows 11 with JAVA_HOME Environment Variable

preview_player
Показать описание
In this video we are going to see How to install Amazon Corretto 21 in Windows 11 with JAVA_HOME Environment Variable and How to Compile and Run Java Module Program.

In this Example.
classes --- will store all the compiled class files of Java Modules.

Class name and Method should be public, then only you can access this class from other modules.

Example Java Commands:

javac --module MessageModule -d D:\Java-Module-Programs\Modules\classes --module-source-path D:\Java-Module-Programs\Modules\src

javac --module PrintModule -d D:\Java-Module-Programs\Modules\classes --module-source-path D:\Java-Module-Programs\Modules\src

#corretto #java #jdkinstallation #installjdk #installjava #javainstallation #javajdk #amazoncorretto #javahome #windows11 #jdk21
Рекомендации по теме