Skip to content

Commit 90bcb72

Browse files
redhattools-botrgrunber
authored andcommitted
Bump JDK to 25
1 parent 1bb0a99 commit 90bcb72

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Features
2424
=========
2525
![ screencast ](https://raw.githubusercontent.com/redhat-developer/vscode-java/main/images/vscode-java.0.0.1.gif)
2626

27-
* Supports code from Java 1.8 to Java 24
27+
* Supports code from Java 1.8 to Java 25
2828
* Maven pom.xml project support
2929
* Gradle project support (with experimental Android project import support)
3030
* Standalone Java files support
@@ -81,8 +81,8 @@ If you need to compile your projects against a different JDK version, it's recom
8181
"path": "/path/to/jdk-11",
8282
},
8383
{
84-
"name": "JavaSE-24",
85-
"path": "/path/to/jdk-24",
84+
"name": "JavaSE-25",
85+
"path": "/path/to/jdk-25",
8686
"default": true
8787
},
8888
]

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,8 @@
947947
"JavaSE-21",
948948
"JavaSE-22",
949949
"JavaSE-23",
950-
"JavaSE-24"
950+
"JavaSE-24",
951+
"JavaSE-25"
951952
],
952953
"description": "Java Execution Environment name. Must be unique."
953954
},
@@ -2014,4 +2015,4 @@
20142015
},
20152016
"segmentWriteKey": "Y7Y5Xk8dKEhVZHTmAkFZkqgdN4d7c4lt",
20162017
"segmentWriteKeyDebug": "BflPll7uuKOCm3y0g7JpfXLVBVFBivDE"
2017-
}
2018+
}

src/requirements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function resolveRequirements(context: ExtensionContext): Promise<Re
4141
const preferenceName = javaPreferences.preference;
4242
let javaHome = javaPreferences.javaHome;
4343
let javaVersion: number = 0;
44-
const REQUIRED_JDK_VERSION = ('on' === getJavaConfiguration().get('jdt.ls.javac.enabled'))?24:21;
44+
const REQUIRED_JDK_VERSION = ('on' === getJavaConfiguration().get('jdt.ls.javac.enabled'))?25:21;
4545
if (javaHome) {
4646
const source = `${preferenceName} variable defined in ${env.appName} settings`;
4747
javaHome = expandHomeDir(javaHome);

0 commit comments

Comments
 (0)