Skip to content

Commit 4000f82

Browse files
committed
feat: require Java 21
1 parent 08ae605 commit 4000f82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/engine/flix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export async function start(input: StartEngineInput) {
117117
return
118118
}
119119

120-
if (majorVersion! < 11) {
120+
if (majorVersion! < 21) {
121121
sendNotification(jobs.Request.internalError, {
122122
message: USER_MESSAGE.JAVA_WRONG_VERSION(versionString),
123123
actions: [],

server/src/util/userMessages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class USER_MESSAGE {
2929
}
3030

3131
static JAVA_WRONG_VERSION(foundVersion: string) {
32-
return `Flix requires Java 11 or later. Found "${foundVersion}".`
32+
return `Flix requires Java 21 or later. Found "${foundVersion}".`
3333
}
3434

3535
static RESPONSE_TIMEOUT(timeoutTime: number) {

0 commit comments

Comments
 (0)