AdoptOpenJDKĪdoptOpenJDK provides prebuilt OpenJDK binaries for free without authentication or complications. Do not set it to the Java executable itself.īelow you will find instructions on how to download and configure different versions of Java.
If the extension cannot find your Java installation, or if you want it to use a different installation, change the setting.
By default, the extension attempts to locate your local Java installation by looking for a JAVA_HOME or JDK_HOME environment variable on your computer. It requires an installation of either JDK version 11 (Recommended) or JDK version 8. The Apex Language Server, shipped as part of the Salesforce Apex Extension for VS Code depends upon the Java Platform, Standard Edition Development Kit (JDK).