This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
using:vscode:installing_java [2024/10/25 16:57] – fponzi | using:vscode:installing_java [2024/10/25 16:58] (current) – fponzi |
---|
Sometimes, you may not want to use the extension with your globally enabled JVM (the one that is executed when you execute the ''%%java%%'' command in the command line). In such cases you need to tell the extension where to find the JVM you want to use. | Sometimes, you may not want to use the extension with your globally enabled JVM (the one that is executed when you execute the ''%%java%%'' command in the command line). In such cases you need to tell the extension where to find the JVM you want to use. |
| |
To do this, open the [[https://code.visualstudio.com/docs/getstarted/settings|Settings panel]], find the TLA<html><sup></html>+<html></sup></html> group of setting, and provide the home directory of your JVM in the ''%%Java: Home%%'' setting. Be careful, the JVM home directory is the directory where the whole JVM resides, not the full path to the ''%%java%%'' executable. | To do this, open the [[https://code.visualstudio.com/docs/getstarted/settings|Settings panel]], find the TLA<sup>+</sup> group of setting, and provide the home directory of your JVM in the ''%%Java: Home%%'' setting. Be careful, the JVM home directory is the directory where the whole JVM resides, not the full path to the ''%%java%%'' executable. |
| |