Oracle's Java extension for VS Code: edit, compile, debug and test Java projects
open sourceApache-2.0free
Oracle's extension that brings Java development to Visual Studio Code: code completion, refactorings, formatting and hints, a debugger with launch configurations, a test explorer, and support for Maven and Gradle projects, with a project explorer. It also has interactive Java notebooks, JShell, a JDK downloader for setting up a JDK, and localization for Japanese and Simplified Chinese. Its language server runs on JDK 21 or newer, while projects can target JDK 8 and above. The extension is adapted from Apache NetBeans' Java support. Telemetry is off until the user enables it. Apache-2.0 licensed.
Problems it solves
- write, run and debug Java in VS Code with Maven or Gradle projects
- set up a JDK and start a Java project from my editor
- run Java tests and refactor Java code without leaving VS Code
Features
- code completion and refactorings
- debugger with launch and run configurations
- test explorer
- Maven and Gradle project support
- interactive Java notebooks
- JShell
- JDK downloader
Limitations
- Its language server needs JDK 21 or newer to run1
Alternatives
The same job
These do what Java Platform Extension for Visual Studio Code does.
- Project Manager for Java Browse, create and manage Java projects in VS Code
- IntelliJ IDEA The Java and Kotlin IDE for you and your agents
- Eclipse IDE Open, industry-backed and community driven
- Spring Tools Spring-aware tooling for Spring Boot apps in VS Code, Cursor, Eclipse and Theia
Compare Java Platform Extension for Visual Studio Code with the top 3
