Skip to content

Instantly share code, notes, and snippets.

@ntotten
Last active July 5, 2019 15:50
Show Gist options
  • Save ntotten/77f366b0abf7aa273a57796dd65d549f to your computer and use it in GitHub Desktop.
Save ntotten/77f366b0abf7aa273a57796dd65d549f to your computer and use it in GitHub Desktop.

Adopt Open JDK

  1. Download: https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot

  2. 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"
}

Zulu

  1. Download Version 11: https://www.azul.com/downloads/zulu/

Note: For Windows Download the "11", "JDK", "Client".

  1. 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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment