Installation

Installing Java JDK 15.0.2

  1. Go to the Oracle Java SE Downloads: https://jdk.java.net/15/ page.
  2. Click the Download JDK 15 button.
  3. Choose the Windows x64 installer.
  4. Run the installer.
  5. Follow the on-screen instructions to complete the installation.

Installing Maven latest

  1. Go to the Maven download page: https://maven.apache.org/download.cgi.
  2. Click the Download Apache Maven button.
  3. Choose the Binary zip archive file.
  4. Save the file to your computer.
  5. Extract the contents of the zip file to a directory of your choice.

Configuring environment variables

  1. Open the System Environment Variables dialog box.
  2. Click the Environment Variables button.
  3. In the System Variables section, click the New button.
  4. In the Variable name field, enter JAVA_HOME.
  5. In the Variable value field, enter the path to the directory where you installed Java JDK 15.0.2.
  6. Click the OK button.
  7. In the System Variables section, click the New button again.
  8. In the Variable name field, enter MAVEN_HOME.
  9. In the Variable value field, enter the path to the directory where you extracted Maven.
  10. Click the OK button.
  11. In the User Variables section, click the Path variable.
  12. Click the Edit button.
  13. At the end of the Variable value field, add the following path: %MAVEN_HOME%\bin
  14. Click the OK button twice.

Once you have completed these steps, you should be able to run Java and Maven from the command line.

To verify that Java is installed correctly, open a command prompt and run the following command:

java -version

To verify that Maven is installed correctly, open a command prompt and run the following command:

mvn -version

If you see the version number for Java or Maven, then the installation was successful.

What are your feelings
Scroll al inicio