1. Download and install Java Extension Pack
Name: Java Extension Pack
Id: vscjava.vscode-java-pack
Description: Popular extensions for Java development and more.
Version: 0.8.1
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
2. Open java config
press ctrp + shift + p then type java config
3. Download java jdk from the link given in install section
4. Download and install
5. Environment variable setup
- JAVA_HOME
- JDK_HOME
- PATH
6. open vscode java config as in step 2
- go to user setting
Edit setting.json
Add java.home variable
7. Restart VSCode.
Comments
Post a Comment