Skip to content

Commit fad8edc

Browse files
authored
Merge pull request #469 from oracle/24.1.1
Merge 24.1.1 changes into main
2 parents be1e90c + 49c3c35 commit fad8edc

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,19 @@ If your extension is not starting and throwing some error like no JDK found even
196196
The extension will analyze the content of the opened workspace, and relevant other files. If the workspace contains a lot of data, this may take a long time. It is therefore recommended to avoid adding unnecessarily big folders in a workspace. Specifically, it is not recommended to open user's home directory as a part of the workspace.
197197

198198
## Known Issue
199-
If an action has been applied to the Maven `pom.xml` file through the extension, such as enabling a preview feature or adding a test runner framework, subsequent compile or run operations may fail. To resolve this issue, please follow the steps below:
200-
1. Check the `pom.xml` file for any duplicated tags.
201-
2. If duplicated tags are found, remove the extra tags and attempt to compile again.
199+
1. If an action has been applied to the Maven `pom.xml` file through the extension, such as enabling a preview feature or adding a test runner framework, subsequent compile or run operations may fail. To resolve this issue, please follow the steps below:
200+
1. Check the `pom.xml` file for any duplicated tags.
201+
2. If duplicated tags are found, remove the extra tags and attempt to compile again.
202+
3. Add the `--enable-preview` VM argument to the *exec-maven-plugin* or *maven-surefile-plugin* configurations if they are used execution or test runs.
203+
2. If the "*Launch Java App*" configuration is being used to *Run and Debug* an application, the following issues may occur if no `mainClass` field value is defined.
204+
- Issues:
205+
1. If more than 2 main classes are present in the project, then using the *Run and Debug* button does not launch execution and appears as stuck prior to run.
206+
2. If the editor window open is a file that is not within the src root of the maven/gradle project, then using the *Run and Debug* button launches the projects tests.
207+
- Resolution or Workaround:
208+
1. Open the `launch.json` file.
209+
2. Edit the configuration for the "*Launch Java App*", i.e. the one which has `"type": "jdk"` and `"request": "launch"`.
210+
3. Define a value for the *mainClass* field, i.e. `"mainClass": "<main class fully-qualified-name or file-path>"`.
211+
3. The *Project: Test Project* command executes the project's tests but does not update the Testing or the Tests Results panels. The test output is present only in the Terminal or Debug Console panel.
202212

203213
## Telemetry
204214

vscode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
#### Other Changes
3939
* Updated openjdk24 URL to 24.0.2 [#442](https://github.com/oracle/javavscode/pull/442)
40+
* Updated openjdk25 URL to 25 [#465](https://github.com/oracle/javavscode/pull/465)
4041

4142
**Full Changelog**: https://github.com/oracle/javavscode/compare/v24.1.0...v24.1.1
4243

vscode/src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ export namespace jdkDownloaderConstants {
3131

3232
export const ORACLE_JDK_BASE_DOWNLOAD_URL = `https://download.oracle.com/java`;
3333

34-
export const ORACLE_JDK_FALLBACK_VESIONS = ['24', '21'];
34+
export const ORACLE_JDK_FALLBACK_VESIONS = ['25', '21'];
3535

3636
export const OPEN_JDK_VERSION_DOWNLOAD_LINKS: { [key: string]: string } = {
37-
"24": "https://download.java.net/java/GA/jdk24.0.2/fdc5d0102fe0414db21410ad5834341f/12/GPL/openjdk-24.0.2"
37+
"25": "https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25"
3838
};
3939
}
4040
export const NODE_WINDOWS_LABEL = "Windows_NT";

0 commit comments

Comments
 (0)