skip to Main Content

I am a very early beginner to coding. I downloaded VS Code so that I could, you know, have somewhere to code in Java. However, I keep getting these two errors telling me these two extensions that I already have installed on VS Code are not working here are the error messages. I already searched through the odds and ends of StackOverflow and have tried everything, and nothing has worked. Any help would be appreciated.

I inputted some code into settings.json under a "java.configuration.runtimes" thing but nothing in it worked. I conformed it to my installation directories and current Java version

2

Answers


  1. Do you have a JDK (Java Development Kit) installed?

    If you are on Windows, you can check by clicking on the start button, and search through applications and programs for a Java folder.

    If you are on MacOS or Linux, you can open up the terminal/command line and type in "java -version" and if it is properly installed, it will display the version.

    If you do not find a JDK installed, install one from https://www.oracle.com/ca-en/java/technologies/downloads/

    Login or Signup to reply.
  2. Download and install the Coding Pack for Java.

    enter image description here

    It would be helpful to follow this documentation to get started.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search