Skip to content

Commit c4e197a

Browse files
committed
Update README for using EA builds of JDK
1 parent bf87f10 commit c4e197a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,11 @@ following locations:
175175

176176
As soon as one of the settings is changed, the Language Server is restarted.
177177

178-
## Disable the embedded nb-javac and use javac from the JDK
179-
`View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` setting facilitates simpler experimentation with early access JDK builds. JDK early access builds can be specified in `jdk.jdkhome`, and nb-javac can be disabled, ensuring that the extension utilizes the javac from the early access build.
178+
## How to use JDK early access builds
179+
This setup makes it easier to experiment with early access JDK builds. Follow these steps to enable the use of an early access JDK:
180+
Step-1: Navigate to `View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` and set it to `true` .
181+
182+
Step-2: Set the JDK in `View | Command Palette | Preferences:Open User Settings (JSON) ...` by updating the __jdk: Jdkhome__ setting to point to the early access JDK path.
180183

181184
## Running Language Server per VSCode workspace or for user
182185
It is possible to run Oracle Java Platform extension per workspace (VSCode window). This allows separation of Language Server for given project as Language Server JVM is not shared for more VSCode open workspaces (projects).

vscode/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ following locations:
169169

170170
As soon as one of the settings is changed, the Language Server is restarted.
171171

172-
## Disable the embedded nb-javac and use javac from the JDK
173-
`View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` setting facilitates simpler experimentation with early access JDK builds. JDK early access builds can be specified in `jdk.jdkhome`, and nb-javac can be disabled, ensuring that the extension utilizes the javac from the early access build.
172+
## How to use JDK early access builds
173+
This setup makes it easier to experiment with early access JDK builds. Follow these steps to enable the use of an early access JDK:
174+
Step-1: Navigate to `View | Command Palette | Preferences:Open User Settings | Jdk > Advanced > Disable: Nbjavac` and set it to `true` .
175+
176+
Step-2: Set the JDK in `View | Command Palette | Preferences:Open User Settings (JSON) ...` by updating the __jdk: Jdkhome__ setting to point to the early access JDK path.
174177

175178
## Running Language Server per VSCode workspace or for user
176179
It is possible to run Oracle Java Platform extension per workspace (VSCode window). This allows separation of Language Server for given project as Language Server JVM is not shared for more VSCode open workspaces (projects).

0 commit comments

Comments
 (0)