improve JDK installation instructions

This commit is contained in:
Nemo Godebski-Pedersen 2025-09-03 17:48:55 +05:30
parent 8143f6449a
commit 4c08cd7f06
2 changed files with 18 additions and 7 deletions

3
.sdkmanrc Normal file
View File

@ -0,0 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=11.0.28-tem

View File

@ -43,6 +43,21 @@ This project is dual licensed under the AGPL V3 (see NOTICE) and commercial lice
## Setup
### Installing JDK
#### With sdkman
A good way to manage JDK versions and install the correct version for OBP is [sdkman](https://sdkman.io/). If you have this installed then you can install the correct JDK easily using:
```
sdk env install
```
#### Manually
- OracleJDK: 1.8, 13
- OpenJdk: 11
OpenJDK 11 is available for download here: [https://jdk.java.net/archive/](https://jdk.java.net/archive/).
The project uses Maven 3 as its build tool.
To compile and run Jetty, install Maven 3, create your configuration in `obp-api/src/main/resources/props/default.props` and execute:
@ -753,13 +768,6 @@ The same as `Frozen APIs`, if a related unit test fails, make sure whether the m
- A good book on Lift: "Lift in Action" by Timothy Perrett published by Manning.
## Supported JDK Versions
- OracleJDK: 1.8, 13
- OpenJdk: 11
OpenJDK 11 is available for download here: [https://jdk.java.net/archive/](https://jdk.java.net/archive/).
## Endpoint Request and Response Example
```log