Skip to content

Commit c0723ba

Browse files
committed
build: provide extension for Windows ARM64
Signed-off-by: Fred Bricon <fbricon@gmail.com>
1 parent 159baec commit c0723ba

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
echo "publishPreReleaseFlag=--pre-release" >> $GITHUB_ENV
135135
- name: Package vscode-java
136136
run: |
137-
platforms=("win32-x64" "linux-x64" "linux-arm64" "darwin-x64" "darwin-arm64")
137+
platforms=("win32-x64" "win32-arm64" "linux-x64" "linux-arm64" "darwin-x64" "darwin-arm64")
138138
for platform in ${platforms[@]}; do
139139
npm run download-jre -- --target ${platform} --javaVersion 21
140140
vsce package ${{ env.publishPreReleaseFlag }} --target ${platform} -o java-${platform}-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Provides Java &trade; language support via
1414
Quick Start
1515
============
1616
1. Install the Extension
17-
2. On the following platforms, the extension should activate without any setup : `win32-x64`, `darwin-x64`, `darwin-arm64`, `linux-x64`, `linux-arm64`.\
17+
2. On the following platforms, the extension should activate without any setup : `win32-x64`, `win32-arm64`, `darwin-x64`, `darwin-arm64`, `linux-x64`, `linux-arm64`.\
1818
If on another platform, or using the "universal" version, you can [set](#setting-the-jdk) a _Java_ Development Kit. It must be Java 21 or above.
1919
3. Optionally, download and install a Java Development Kit for your project (Java 1.8 or above is supported). See [Project JDKs](#project-jdks) for more details
2020
4. Extension is activated when you first access a Java file
@@ -57,7 +57,7 @@ See the [changelog](CHANGELOG.md) for the latest release. You might also find us
5757
Setting the JDK
5858
===============
5959
## Java Tooling JDK
60-
Now that Java extension will publish platform specific versions, it will embed a JRE for supported platforms such as `win32-x64`, `linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`. The embedded JRE is used to launch the Language Server for Java. Users are only responsible for configuring [Project JDKs](#project-jdks) to compile your Java projects.
60+
Now that Java extension will publish platform specific versions, it will embed a JRE for supported platforms such as `win32-x64`, `win32-arm64`, `linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`. The embedded JRE is used to launch the Language Server for Java. Users are only responsible for configuring [Project JDKs](#project-jdks) to compile your Java projects.
6161

6262
The following part is only kept for the universal version without embedded JRE.
6363

scripts/jre.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const platformMapping = {
1515
"linux-x64": "linux-x86_64",
1616
"darwin-arm64": "macosx-aarch64",
1717
"darwin-x64": "macosx-x86_64",
18-
"win32-x64": "win32-x86_64"
18+
"win32-x64": "win32-x86_64",
19+
"win32-arm64": "win32-aarch64"
1920
};
2021

2122

0 commit comments

Comments
 (0)