-
Download: https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
-
Set VS Code Setting
MacOS:
{
"salesforcedx-vscode-apex.java.home": "/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home"
}
Windows:
{
"salesforcedx-vscode-apex.java.home":"C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.3.7-hotspot"
}
- Download Version 11: https://www.azul.com/downloads/zulu/
Note: For Windows Download the "11", "JDK", "Client".
- Set VS Code Setting
MacOS:
{
"salesforcedx-vscode-apex.java.home": "/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home"
}
Windows:
{
"salesforcedx-vscode-apex.java.home":"C:\\Program Files\\Zulu\\zulu-11"
}