-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from archivesspace/java-17-dev-compatibility
Add docs re: java 17 compatibility for dev
- Loading branch information
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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/) | ||
|