Java developers are using integrated developer environments (IDEs) specifically designed for Java, such as IntelliJ IDEA, NetBeans and Eclipse. Over the last couple of years, Microsoft Visual Studio Code has seen major adoption, especially for developers in education and enterprise contexts developing on Windows.
To ensure the best support for new Java developers and to leverage VS Code adoption, Oracle has introduced the Oracle Java Platform Extension for Visual Studio Code.
Using the VS Code’s extension marketplace, you can simply download the extension and have Java up and running within minutes.
But hold on — who’s this extension for?
This extension offers value to both seasoned Java developers and beginners alike. Whether you’re a new Java developer looking to experiment with Java or a professional Java developer working on large-scale enterprise apps, this extension provides a perfect starting point and a powerful tool to boost your productivity leveraging the Visual Code extension ecosystem.
Use this extension to:
- Compile and edit Java directly in VS Code
- Debug and refactor Java code
- Visualize your project structure
And if you’re curious about the extension on a technical level, here’s briefly how it works: The Oracle Java Platform Extension for Visual Studio Code uses a slimmed down version of Oracle’s Java language server. The extension is based on the OpenJDK javac compiler for code editing and compilation and OpenJDK’s debugger interface for debugging. Because the extension is directly based on Javac, it provides you access to the latest version of the Java language (Java 24), where significant progress has been made to reduce the verbosity and simplify the Java Language such as JEP 495 (Simple Source Files and Instance Main Methods). This is a great feature for new developers that want to learn Java.
This is a great feature for new developers that want to learn Java.
And given the most recent update to the Oracle Java Platform Extension for Visual Studio Code, you can now:
- Localize the extension to Japanese and Simplified Chinese
- Configure a separate JDK for user projects/workspaces, distinct from the JDK used by the extension
- Control ancestor directory lookups during project scans when opened by the extension
With the Oracle Java Platform Extension for Visual Studio Code, you can now develop Java applications faster, solve complex business problems, and tinker with projects you’re passionate about – all from within the familiar VS Code environment. From automatic JDK setup to full development cycle support, this extension streamlines the Java development workflow and enables you to work more efficiently.
And if you’re a Java developer, you’re going to want to register for JavaOne, March 18-20 2025, Redwood Shores, CA— a Java conference for Java developers, by Java developers. Register before February 9th to save $100 on your JavaOne pass.
Register before February 9th to save $100 on your JavaOne pass.
