You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
We welcome contributions, and request you follow these guidelines.
4
4
5
-
> Note: Starting with the [0.1.12 early release](https://github.com/OpenLiberty/liberty-tools-vscode/releases/tag/0.1.12), Java 17 is required to run Liberty Tools for Visual Studio Code.
5
+
> Note: Java 21 or later is required to run Liberty Tools for Visual Studio Code.
Copy file name to clipboardExpand all lines: DEVELOPING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Developing Liberty Tools for Visual Studio Code
2
2
3
-
> Note: Starting with the [0.1.12 early release](https://github.com/OpenLiberty/liberty-tools-vscode/releases/tag/0.1.12), Java 17 is required to run Liberty Tools for Visual Studio Code.
3
+
> Note: Java 21 or later is required to run Liberty Tools for Visual Studio Code.
4
4
5
5
-[Build Liberty Tools for Visual Studio Code](#build-liberty-tools-for-visual-studio-code)
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Liberty Tools for Visual Studio Code
2
2
3
3
<!-- Match the VSCode and Java version in #requirements, and user-guide.md -->
4
-
> Note: Requires **Visual Studio Code 1.78.0** or later, and **Java 17** or later.
4
+
> Note: Requires **Visual Studio Code 1.78.0** or later, and **Java 21** or later.
5
5
>
6
6
> This page provides an overview of Liberty Tools for Visual Studio Code.
7
7
> For minimum requirements information and detailed instructions on how to use Liberty Tools, check the [user-guide](docs/user-guide.md).
@@ -88,9 +88,9 @@ The following commands are available when you select a project in the Liberty Da
88
88
## Requirements
89
89
90
90
<!-- Match the VSCode and Java version on top of README.md, and user-guide.md -->
91
-
**Visual Studio Code 1.78.0** or later, and **Java 17** or later.
91
+
**Visual Studio Code 1.78.0** or later, and **Java 21** or later.
92
92
93
-
Liberty Tools for Visual Studio Code will check the `xml.java.home` VS Code setting or the `JAVA_HOME` system environment variable to ensure the LemMinX language server uses Java 17 or later. For further information on configuring your Java runtime for language servers, consult this [user guide section](/docs/user-guide.md#configure-your-java-runtime-for-language-servers).
93
+
Liberty Tools for Visual Studio Code will check the `xml.java.home` VS Code setting or the `JAVA_HOME` system environment variable to ensure the LemMinX language server uses Java 21 or later. For further information on configuring your Java runtime for language servers, consult this [user guide section](/docs/user-guide.md#configure-your-java-runtime-for-language-servers).
94
94
95
95
The following extensions are bundled with Liberty Tools for Visual Studio Code during installation and are provided here for additional information.
Copy file name to clipboardExpand all lines: docs/user-guide.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ For information regarding known issues and limitations, refer to our [Common Iss
30
30
### Software requirements
31
31
<!-- Match the VSCode and Java version with the README.md -->
32
32
-**Visual Studio Code 1.78.0** or later.
33
-
-**Java 17** or later is required by Liberty Tools for Visual Studio Code. To point Visual Studio Code to a specific runtime, see [Settings](#settings) for more information.
33
+
-**Java 21** or later is required by Liberty Tools for Visual Studio Code. To point Visual Studio Code to a specific runtime, see [Settings](#settings) for more information.
34
34
35
35
### Application requirements
36
36
@@ -43,24 +43,24 @@ For information regarding known issues and limitations, refer to our [Common Iss
43
43
44
44
### Configure your Java runtime for language servers
45
45
46
-
Liberty Tools for Visual Studio Code requires Java 17 or later to ensure that the following language servers start properly:
46
+
Liberty Tools for Visual Studio Code requires Java 21 or later to ensure that the following language servers start properly:
47
47
-[Liberty Config Language Server](https://github.com/OpenLiberty/liberty-language-server)
48
48
-[Eclipse Language Server for Jakarta EE](https://github.com/eclipse/lsp4jakarta)
49
49
-[XML Language Server (LemMinX)](https://github.com/eclipse/lemminx)
50
50
51
51
A toast message alerts you if any language server fails to run or if Visual Studio Code has trouble locating your Java.
To resolve this issue, you can define settings in your Visual Studio Code [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) file or set system environment variables to point Liberty Tools to Java 17 or later.
56
+
To resolve this issue, you can define settings in your Visual Studio Code [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson) file or set system environment variables to point Liberty Tools to Java 21 or later.
57
57
58
58
For both Liberty Config Language Server and Eclipse Language Server for Jakarta EE, Liberty Tools for Visual Studio Code will check for the Java versions in the following order:
59
59
1.`java.jdt.ls.java.home` in settings.json
60
60
2. The [embedded JRE](https://github.com/redhat-developer/vscode-java#java-tooling-jdk) included by [Language Support for Java(TM) by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.java).
61
61
3.`JDK_HOME` or `JAVA_HOME` as system environment variables. (Note: if both `JDK_HOME` and `JAVA_HOME` are set, `JDK_HOME` will take precedence)
62
62
63
-
By default, Liberty Tools installs the latest version of the Language Support for Java(TM) by Red Hat extension. The latest version contains an embedded JRE higher than Java 17 and therefore no additional configuration is required. However, if using an older version of the Language Support for Java(TM) by Red Hat extension or using the universal version without the embedded JRE causes an issue, then `java.jdt.ls.java.home` or one of JDK_HOME or JAVA_HOME must be configured to use Java 17 or later.
63
+
By default, Liberty Tools installs the latest version of the Language Support for Java(TM) by Red Hat extension. The latest version contains an embedded JRE higher than Java 21 and therefore no additional configuration is required. However, if using an older version of the Language Support for Java(TM) by Red Hat extension or using the universal version without the embedded JRE causes an issue, then `java.jdt.ls.java.home` or one of JDK_HOME or JAVA_HOME must be configured to use Java 21 or later.
64
64
65
65
For LemMinX, Liberty Tools for Visual Studio Code will check for the Java versions in the following order:
66
66
1.`xml.java.home` in settings.json
@@ -76,7 +76,7 @@ For LemMinX, Liberty Tools for Visual Studio Code will check for the Java versio
76
76
|`maven.executable.preferMavenWrapper`| Maven commands executed by dev mode honour this setting. If this setting set to `true`, dev mode tries to use `mvnw` if a Maven wrapper file can be found. Otherwise, it uses `mvn`. |[Maven for Java extension](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven)|
77
77
|`java.import.gradle.wrapper.enabled`| Gradle commands executed by dev mode honour this setting. If this setting is set to `true`, dev mode tries to use `gradlew` if a Gradle wrapper file can be found. Otherwise, it uses `gradle`. |[Language support for Java extension](https://marketplace.visualstudio.com/items?itemName=redhat.java)|
78
78
|`xml.java.home`| This setting allows a user to define their LemMinX language server runtime without altering the `JAVA_HOME` environment variable. | Not set |
79
-
|`java.jdt.ls.java.home`| This setting specifies the folder path to the JDK (17 or later) that is used to launch the Java Language Server. This setting replaces the Java extension's embedded JRE to start the language servers. | Not set |
79
+
|`java.jdt.ls.java.home`| This setting specifies the folder path to the JDK (21 or later) that is used to launch the Java Language Server. This setting replaces the Java extension's embedded JRE to start the language servers. | Not set |
Copy file name to clipboardExpand all lines: src/locales/en.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,11 @@
49
49
"liberty.dev.attach.debugger.failed.with.error": "Failed to attach debugger to selected project. The error is: {0}.",
50
50
"liberty.dev.debug.label": "Debug {0}",
51
51
"liberty.dev.attach.debugger.failed.no.port.in.server.env": "Failed to detect remote debug port in {0}.",
52
-
"check.java.runtime.version.outdated": "Java 17 or later is required to run 'Liberty Tools for VS Code'. Download and install a recent Java SDK.",
52
+
"check.java.runtime.version.outdated": "Java {0} or later is required to run 'Liberty Tools for VS Code'. Download and install a recent Java SDK.",
53
53
"check.java.runtime.vscode.java.home": "The java.home variable defined in VS Code settings",
54
54
"check.java.runtime.env.jdk.home": "The JDK_HOME environment variable",
55
55
"check.java.runtime.env.java.home": "The JAVA_HOME environment variable",
56
-
"define.xml.java.home.message": "The Liberty Config Language Server requires Java 17 or later. Set 'xml.java.home' in the VS Code settings or set the system JAVA_HOME environment variable to point to a Java 17 or later SDK.",
56
+
"define.xml.java.home.message": "The Liberty Config Language Server requires Java {0} or later. Set 'xml.java.home' in the VS Code settings or set the system JAVA_HOME environment variable to point to a Java {0} or later SDK.",
57
57
"check.java.runtime.dismiss.label": "Dismiss",
58
58
"open.jdk.download.part.missing.folder": " points to a missing folder.",
59
59
"open.jdk.download.part.no.runtime": " does not point to a Java runtime.",
0 commit comments