Skip to content

Commit

Permalink
Merge pull request #169 from archivesspace/java-17-dev-compatibility
Browse files Browse the repository at this point in the history
Add docs re: java 17 compatibility for dev
  • Loading branch information
thimios authored Sep 26, 2024
2 parents d922689 + b222a99 commit 03b0e8e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion development/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

System requirements:

- Java 8 or 11 (11 recommended)
- Java 8, 11 (11 recommended) or 17
- [Docker](https://www.docker.com/) & [Docker Compose](https://docs.docker.com/compose/) is optional but makes running MySQL and Solr more convenient
- [Supervisord](http://supervisord.org/) is optional but makes running the development servers more convenient

Expand All @@ -29,6 +29,19 @@ jabba use [email protected]
jabba alias default [email protected] # [optional] make this the default java
```

On Linux/Ubuntu it is generally fine to install from system packages:

```bash
sudo apt install openjdk-$VERSION-jdk-headless
# example: install 11 & 17
sudo apt install openjdk-11-jdk-headless
sudo apt install openjdk-17-jdk-headless

# update-java-alternatives can be used to switch between versions
sudo update-java-alternatives --list
sudo update-java-alternatives --set $version
```

If using Docker & Docker Compose install them following the official documentation:

- [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/)
Expand Down

0 comments on commit 03b0e8e

Please sign in to comment.