Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Features
=========
![ screencast ](https://raw.githubusercontent.com/redhat-developer/vscode-java/master/images/vscode-java.0.0.1.gif)

* Supports code from Java 1.8 to Java 23
* Supports code from Java 1.8 to Java 24
* Maven pom.xml project support
* Gradle project support (with experimental Android project import support)
* Standalone Java files support
Expand Down Expand Up @@ -81,8 +81,8 @@ If you need to compile your projects against a different JDK version, it's recom
"path": "/path/to/jdk-11",
},
{
"name": "JavaSE-23",
"path": "/path/to/jdk-23",
"name": "JavaSE-24",
"path": "/path/to/jdk-24",
"default": true
},
]
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,8 @@
"JavaSE-20",
"JavaSE-21",
"JavaSE-22",
"JavaSE-23"
"JavaSE-23",
"JavaSE-24"
],
"description": "Java Execution Environment name. Must be unique."
},
Expand Down Expand Up @@ -1995,4 +1996,4 @@
},
"segmentWriteKey": "Y7Y5Xk8dKEhVZHTmAkFZkqgdN4d7c4lt",
"segmentWriteKeyDebug": "BflPll7uuKOCm3y0g7JpfXLVBVFBivDE"
}
}
2 changes: 1 addition & 1 deletion src/requirements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function resolveRequirements(context: ExtensionContext): Promise<Re
const preferenceName = javaPreferences.preference;
let javaHome = javaPreferences.javaHome;
let javaVersion: number = 0;
const REQUIRED_JDK_VERSION = ('on' === getJavaConfiguration().get('jdt.ls.javac.enabled'))?23:21;
const REQUIRED_JDK_VERSION = ('on' === getJavaConfiguration().get('jdt.ls.javac.enabled'))?24:21;
if (javaHome) {
const source = `${preferenceName} variable defined in ${env.appName} settings`;
javaHome = expandHomeDir(javaHome);
Expand Down