Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Subtask] Make Gravitino build and run on JDK 11, 17 #1179

Closed
Tracked by #1098
jerryshao opened this issue Dec 18, 2023 · 0 comments · Fixed by #1199
Closed
Tracked by #1098

[Subtask] Make Gravitino build and run on JDK 11, 17 #1179

jerryshao opened this issue Dec 18, 2023 · 0 comments · Fixed by #1199
Assignees

Comments

@jerryshao
Copy link
Contributor

Describe the subtask

Current Gravitino server can only run on JDK8, we should make it build/run on JDK 11, 17 The current

Parent issue

#1098

@jerryshao jerryshao self-assigned this Dec 18, 2023
jerryshao added a commit that referenced this issue Dec 19, 2023
#1199)

### What changes were proposed in this pull request?

This PR proposes to add multiple JDK version support for building and
running Gravitino server, including JDK8, 11, and 17.

Users could specify the version they want to build in
`gradle.properties`, like:

```
jdkVersion = 8

or 

jdkVersion = 11

or 

jdkVersion = 17
```

Or users could specify the version by `./gradlew build -PjdkVersion=8`.

Our generated jars are JDK 8 version compatible, so it can run against
Java runtime 8, 11, and 17.

### Why are the changes needed?

To make Gravitino build, test and run against multiple JDK versions.

Fix: #1179 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

This was compiled, tested, run on JDK8, 11, and 17 locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant