Announcing the Visual Studio Code Installer for Java

Xiaokai He

Xiaokai

It’s been almost 3 years since the first Java language server was developed during a hackathon in a small conference room at Microsoft’s Zurich office with people from Red Hat, IBM, Codenvy and Microsoft, which later became one of the most popular extensions for Visual Studio Code with more than 2.7 million installations. Since then, Visual Studio Code has gone through a thrilling journey and become to the most popular development environments according to Stack Overflow. More and more Java extensions are now available in Visual Studio Code to serve a growing Java community using Visual Studio Code along with their favorite tools and frameworks.

During this journey, we’ve heard many developers ask how to start with Java in Visual Studio Code. As the vibrant Java community expands to include more students and developers from other languages, many new comers struggle with setting up their environment to be able to start coding. To help people get started, we created the Java extension pack to give you the relevant extensions, and also included tutorials with detailed steps in our documentation.

Back in 2018, Microsoft Azure became a Platinum Sponsor of the AdoptOpenJDK project – that just got renewed until June 2020 – and provides a truly vendor neutral, completely free and open source distribution of the JDK (Java Development Kit) based on the OpenJDK project. This was a turning point for us so much we’ve also added a functionality to detect and help developers install a JDK binary in their environments, having AdoptOpenJDK as the recommended distribution. These efforts were encouraging, but got us thinking about more ways we could make it easier to starting coding in Java.

Introducing the Visual Studio Code Java Pack Installer

So today, we’re releasing a special Installer of Visual Studio Code for Java developers. The package can be used as a clean install or an update for existing environment to add Java or Visual Studio Code to your development environment. Once downloaded and opened, it automatically detects if you have the fundamental components in your local development environment, including the JDK, Visual Studio Code and essential Java extensions.

After clicking Install, it will pull the stable versions of those tools from trusted online sources and install them on your system. Once it’s done, you can open Visual Studio Code and start writing and running Java code directly! Below is a short video showing you how to write and run a Hello World program with Java in Visual Studio Code in less than 1 minute. See more detailed functionality in our tutorial.

 

The installer is available for download for Windows now while we’re still working on the macOS version. Please have a try and let us know your feedback!

If you’d like to follow the latest of Java on Visual Studio Code, please provide your email with us using the form below. We will send out updates and tips every couple weeks.

Thank you and happy coding.

Xiaokai He
Xiaokai He

Senior Program Manager, Java on Visual Studio Code and Azure

Follow Xiaokai   

16 Comments
Jiping
Jiping 2019-06-14 14:04:12
So great. Have been waiting Microsoft support Java for years, since Visual J++
Avatar
"Fleet Command" 2019-06-14 22:39:17
So, Java is popular again? I didn't know that. I had heard that Java had a strong developer base for developing server apps, but I didn't know what exactly that meant.
Keith Ralston
Keith Ralston 2019-06-15 08:31:51
This is awesome. Have you considered a server based profile? I could add this to my profile from my phone when I read about it. The next time I code, it is there. When I change machines, I don't have to reconfigure my Deb environment so much.
Avatar
Thiago Cunha 2019-06-15 16:26:16
very cool tool. I'm a fan of vscode. I would like to know how is the support for the main frameworks on the market? spring for example.
Avatar
Nick Schonning 2019-06-15 19:50:03
Looks like some of the links in the article were copied from an email, so they're all prepended with https://nam06.safelinks.protection.outlook.com/
Avatar
Ayush Gupta 2019-06-15 21:08:56
The only suggestion I have for this installer that it should be able to detect insider version of vs code as well. I am a regular user of vs code insider and would very much like to try this out but it does not detect my current installation.
Avatar
Liam Dawson 2019-06-16 15:35:00
Awesome! Is the installer open source? For example, can we make our own installers?
Rafal Wachol
Rafal Wachol 2019-06-16 16:03:42
Looks good! Thank you. It would be nice to have Android build system support in plugin. Any chance for that?
Avatar
Kerr, Matt 2019-06-17 09:24:29
This is pretty cool. Is the language server getting Unix socket support on Windows soon? It would be good for performance. Also, a full featured Kotlin and Scala set up would be really nice. Currently, the language server that is available is community made and no longer maintained, and fails to start on most machines. My team has moved on from Java to Kotlin on server side because of how it is evolving faster and is backed by Google and JetBrains for both program code and build scripting in Gradle.
Cisco505
Cisco505 2019-06-18 12:28:36
Is there any tutorial to make plugins?