Skip to content

Commit

Permalink
Update docs\development\setup.md, using JDK11 instead of JDK8 (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
warthecatalyst authored Jul 4, 2022
1 parent 499d4f2 commit 0eaf1b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/development/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

## Install the Java Development Kit

The Deep Java Library (DJL) project requires JDK 8 (or later). We recommend using JDK8, since there are some known issues with JDK 11+.
The Deep Java Library (DJL) project requires JDK 11 (or later).

Verify that Java is available in your $PATH environment variable by using the following commands. If you have multiple versions of Java installed,
you can use the $JAVA_HOME environment variable to control which version of Java to use.

For ubuntu:

```bash
sudo apt-get install openjdk-8-jdk-headless
sudo apt-get install openjdk-11-jdk
```

For centos

```bash
sudo yum install java-1.8.0-openjdk
sudo yum install java-11-openjdk
```

For Mac:

```bash
brew tap homebrew/cask-versions
brew update
brew install --cask temurin8
brew install --cask temurin11
```

You can also download and install [Oracle JDK](https://www.oracle.com/technetwork/java/javase/overview/index.html)
Expand Down

0 comments on commit 0eaf1b5

Please sign in to comment.