While using the software for this course, your computer’s keyboard language must be set to English. If needed, please follow these instructions to change your keyboard language.
Preliminary notes:
If you already have a version VS Code on your current laptop and you have used it to write Java code, you don’t need to reinstall it. Instead, you should return to Lab 0 and complete the final task.
If you run into any issues with the following method of installing VS Code, see below for an alternative method.
You are also welcome to use a different IDE for Java if you prefer.
Here are the steps:
If you already have a version of VS Code on your laptop but you have not yet used it for Java, begin by uninstalling your current installation of VS Code along with any versions of Java that may be on your machine.
Click on the following link to download the installer: https://aka.ms/vscode-java-installer-win
Go to your Downloads folder and find the downloaded file. Its name should begin with JavaCodingPack.
Double-click the icon for the downloaded file to start the installer. If prompted to do so, click Run.
You should be able to use all of the default settings that the installer gives you. Wait for it to complete the installation and then click Finish. You can now delete the installer program.
The installer should put a shortcut for Visual Studio Code on your Desktop, or you can use the Windows button in the lower-left corner of your Desktop to search for Visual Studio Code. Either option can be used to run the program.
If you already have a version of VS Code on your laptop but you have not yet used it for Java, begin by uninstalling your current installation of VS Code along with any versions of Java that may be on your machine.
Follow steps similar to the ones given above to download and install just VSCode (without Java support): https://code.visualstudio.com/sha/download?build=stable&os=win32-x64-user
Then, once VSCode is fully installed, install the Extension Pack for Java by clicking here.
Once the Extension Pack is installed, exit VS Code and restart it before you attempt to use it for coding in Java.
Last updated on September 15, 2024.