Skip to content

Commit

Permalink
Update README and CI to reference jdk 17 (#1145)
Browse files Browse the repository at this point in the history
MapRoulette is running using jdk 17, and dropping build/runtime support for jdk 11.
  • Loading branch information
ljdelight authored Aug 17, 2024
1 parent ba1f32e commit c1e212c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
POSTGRES_PASSWORD: osm
strategy:
matrix:
java: [ 11, 17 ]
java: [ 17 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Welcome to the repository for the MapRoulette back-end server code. The MapRoule

MapRoulette depends on several technologies for building and running the project:

* Java 11 JDK
* Java 17 JDK
* PostgreSQL with PostGIS
* [Scala Build Tool](https://www.scala-sbt.org/download.html)

Expand All @@ -31,7 +31,7 @@ The validation at each step is a helpful sanity check so please, regardless of y

### Step 1: Installing Tools

To get started you'll need to install Docker, JDK 11, and sbt.
To get started you'll need to install Docker, JDK 17, and sbt.

#### Docker

Expand All @@ -40,14 +40,14 @@ Docker is a virtualization tool and feel free to use
or [Podman](https://podman.io/),
or even [Rancher Desktop](https://rancherdesktop.io/).

#### JDK 11 and sbt
#### JDK 17 and sbt

[sdkman](https://sdkman.io/install) is a great tool to install a specific build of the JDK to keep your environment
as similar to production as possible. It also handles fetching x8664 and aarch64 builds automatically.
Follow the installation steps and install the JDK and sbt using a command similar to:

* `sdk install java 11.0.21-tem`
* `sdk install sbt 1.8.2`
* `sdk install java 17.0.12-tem`
* `sdk install sbt 1.10.1`

#### Validation

Expand All @@ -56,7 +56,7 @@ Within a terminal check that docker, javac, and sbt are working.
* `docker run hello-world`
* Verify docker works
* `javac -version`
* Verify javac is JDK 11
* Verify javac is JDK 17
* Apple Silicon: Verify that the JDK is an aarch64 build and not x8664.
* `sbt -version`

Expand Down

0 comments on commit c1e212c

Please sign in to comment.