새소식

Program Language/☕ JAVA

Where can I download openjdk 1.8?

  • -
728x90

You can download OpenJDK 1.8 (also known as OpenJDK 8) from several sources. Below are some reliable places where you can get it:

1. Adoptium (formerly AdoptOpenJDK)

Adoptium provides prebuilt OpenJDK binaries. Here's how you can download it from Adoptium:

  • Go to the Adoptium download page.
  • Select "OpenJDK 8 (LTS)" as the version.
  • Choose your operating system and architecture.
  • Click on the "Latest release" link to download the installer or binary package.

2. Oracle's OpenJDK

Oracle provides OpenJDK builds. Here’s how you can download it:

  • Go to the OpenJDK Archive page.
  • Scroll down to find "JDK 8".
  • Click on the link to download the appropriate installer or binary for your operating system.

3. Amazon Corretto

Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the OpenJDK.

4. Zulu OpenJDK by Azul

Zulu is another free build of OpenJDK by Azul Systems.

  • Go to the Zulu download page.
  • Select "8" as the Java version.
  • Choose the appropriate operating system and package type.
  • Click the "Download" button to get the installer or binary package.

Installation Instructions

Once you have downloaded the appropriate package for your operating system, follow the installation instructions specific to that platform:

On Windows:

  1. Run the downloaded installer.
  2. Follow the prompts to install OpenJDK.
  3. Set the JAVA_HOME environment variable to the installation directory (e.g., C:\Program Files\AdoptOpenJDK\jdk-8.x.x.x-hotspot).

On macOS:

  1. Download the .tar.gz or .pkg file.
  2. If using the .pkg installer, run it and follow the prompts.
  3. If using the .tar.gz file, extract it and move the contents to a suitable location (e.g., /Library/Java/JavaVirtualMachines/).
  4. Set the JAVA_HOME environment variable in your shell profile (e.g., .bash_profile or .zshrc).

On Linux:

  1. Download the .tar.gz file.
  2. Extract the tarball using:
    sh
    Copy code
    tar -xvf openjdk-8uXXX-bXX-linux-x64.tar.gz
  3. Move the extracted directory to a suitable location (e.g., /usr/lib/jvm/).
  4. Set the JAVA_HOME environment variable in your shell profile (e.g., .bashrc or .profile).

By downloading from these trusted sources and following the appropriate installation instructions, you should be able to set up OpenJDK 1.8 on your system.

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.