About 24,400 results
Open links in new tab
  1. How does Visual Studio Code compile Java code? - Stack Overflow

    Jul 31, 2025 · VS Code implements the "The Microsoft Language Server Protocol" it workes in tandem w/ the Java language server, and VS Code extensions that add support for configuring EJC via VS …

  2. VS Code's java language server cannot detect java package

    Jul 26, 2025 · I'm working on a Java project using Visual Studio Code, and I'm importing classes from the algs4.jar library , but VS code keeps showing package does not exist, even though: The code …

  3. java - VS Code - The import "#####" cannot be resolved - Stack …

    Nov 23, 2022 · Putting the libraries in your current working directory does not work for Java, you need to add them to the classpath. If you're using maven, that manages the classpath for you. If not, you can …

  4. Visual Studio Code not recognizing java project - Stack Overflow

    Jun 17, 2021 · VS Code is not recognizing my java project. The project is template code for a minecraft mod found here. Ive installed the plugins "Debugger for Java" "Java Extension Pack" &...

  5. How to config java version in Visual Studio Code?

    Jul 28, 2022 · 6 I installed OpenJDK 18 in my Fedora 36 and installed "Extension Pack for Java" on my Visual Studio Code. In my machine, there have 3 versions of java: But when I create a maven project …

  6. How to find and change Java compiler option in Visual Studio Code ...

    Jul 2, 2019 · The most common way is to set JAVA_HOME environment variable to the install location of the JDK while you can also use java.home setting in Visual Studio Code settings (workspace or user …

  7. How to avoid Visual Studio Code warning: " [myfile].java is a non ...

    I am running a build task in a Java project in Visual Studio Code. The warning in the "PROBLEMS" tab: [myfile].java is a non-project file, only syntax errors are reported It …

  8. java - Could not find or load main class - VS Code - Stack Overflow

    Sep 9, 2019 · Open VS Code. Press Cmd + Shift + P to open the Command Palette. In the Command Palette, type Java: Clean the Java Language Server Workspace. Select Java: Clean the Java …

  9. How to compile and run Java code in Visual Studio Code

    I downloaded Visual Studio Code and installed the "Java Extension Pack" by Microsoft. Afterwards I downloaded the jdk1.8.0_161 and created the required environment variables as described in the "J...

  10. Changing the java.home path in VS code - Stack Overflow

    Jul 23, 2020 · 9 The path to the Java Development Kit is searched in the following order: the java.home setting in VS Code settings (workspace then user settings) the JDK_HOME environment variable the …