Install Java with zip on Windows

--Environment: Windows10 Pro version 1903 -Click here to install using Homebrew on Mac

1. Download the zip file

  1. Oracle site: https://jdk.java.net/ {version} / --This time it's JDK11, so https://jdk.java.net/11/
  2. If "Older releases, which do not include the most ...." is displayed, display the download site (https://jdk.java.net/archive/) from the [OpenJDK Archive] link.
  3. image.png
  4. Download the zip with the [zip] link next to "Windows 64-bit"

2. Unzip the zip file

#Unzip the download zip file to any location
$ unzip ~/Downloads/openjdk-11.0.2_windows-x64_bin.zip -d /c/app/
Archive:  /c/Users/m-uki/Downloads/openjdk-11.0.2_windows-x64_bin.zip
   creating: /c/app/jdk-11.0.2/
   creating: /c/app/jdk-11.0.2/bin/
  inflating: /c/app/jdk-11.0.2/bin/api-ms-win-core-console-l1-1-0.dll
...abridgement...

#Check the version
$ /c/app/jdk-11.0.2/bin/java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

PATH

  1. Run with Win + R to display the dialog
  2. Advanced tab> Environment Variables ... button
  3. [System environment variables]> [New]> Set "JAVA_HOME" in [Variable name]> Set the unzipped folder (C: \ app \ jdk-11.0.2 in this case) in [Variable value] Designation
  4. Select "Path" in [System Variables]> [Edit] button
  5. Enter "% JAVA_HOME% \ bin" in the bottom line> Enter> Click the [Up] button to place it in the top line
  6. Click the [OK] button to close all dialogs. image.png

If the PATH passes, you can check the version only with java


$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

Recommended Posts

Install Java with zip on Windows
Install Java 9 on windows 10 and CentOS 7
Using JupyterLab + Java with WSL on Windows 10
Install Java8 with Yum on Amazon Linux
Install java with Homebrew
Install Java on Mac
Install Java 11 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Note Book: OpenCV with CUDA Install On Windows10
Install Java 14 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Docker on Windows 10 PRO
Install Java 7 with Homebrew (cask)
Install Java on WSL Ubuntu 18.04
Install java 1.8.0 on Amazon linux2
Install Java 8 (OpenJDK: Amazon Corretto) on macOS with Homebrew
Install Java 8 (OpenJDK: Zulu Community) on macOS with Homebrew
Install Ruby on MSYS2 with pacman
Error when npm install on Windows 7
Install java with Ubuntu 16.04 based Docker
Install Java and Tomcat with Ansible
[Java] How to update Java on Windows
How to install ImageMagick on Windows 10
Install Java Open JDK 8 on CentOS 7
Note Book: OpenBLAS Install On Windows10
Note Book: LAPACK Install On Windows 10
Note Book: VTK Install On Windows10
Install ruby on Ubuntu 20.04 with rbenv
Zip compression with Java in Windows environment without garbled characters
Develop gRPC on Windows + Java 7 + Maven 2
[Java development environment construction] Install OpenJDK 11 (Java 11) on macOS with Homebrew.
Install Java development environment on Mac
If you can't install java on Catalina
Install OpenJDK (Java) on the latest Ubuntu
Java version control with jenv on OSX
Memory measurement of Java application on Windows
Build OpenCV with Java Wrapper on Ubuntu 18.04
Building Java Web Applications on Windows Server 2016
Install NextCloud on CentOS 7 with Alibaba Cloud ECS
Install java and android-sdk on Mac using homebrew
[Windows] [IntelliJ] [Java] [Tomcat] Create a Tomcat9 environment with IntelliJ
Easily switch Java versions with alias on macOS
Install GitLab on CentOS 8 with no internet connection
Install Java, Apache, Tomcat9 on EC2 (Amazon Linux2)
[Solution] Java cannot be installed on Windows 10 + ATOK 2017
Switch versions with alternatives after yum install java
Note Book: OpenCV v4.5.0 with Alphamat Install On Windows10 But it need Eigen
Check with Java / Kotlin that files cannot be written in UAC on Windows
Install gradle on mac
Using Java 8 with Bluemix (on Liberty Runtime & DevOps Service)
Build Java development environment with VS Code on Mac
Install Ruby 3.0.0 with asdf
Install OpenJDK on macOS
Change seats with java
Java development environment construction on Mac-JDK Install (2020 preservation version)
Compile with Java 6 and test with Java 11 while running Maven on Java 8
[Java] Install Amazon Corretto 8
Install Golang on CentOS 8
Install pyqt5 on ubuntu
Install Neo4j 4.1.3 on centOS
Run PostgreSQL on Java
Install Docker on Manjaro