How to use Visual Studio Code with Java and Maven projects

How to use Visual Studio Code with Java and Maven projects

Last updated August 2026.

Java is one of many languages supported by Visual Studio Code (VS Code). Like most things in VS Code, Java support is extension-based. You may need several extensions, depending on the project type and stack you are working with. You can find more detail in Java in Visual Studio Code in the official VS Code documentation.

Fortunately, getting started is simple, and you’ll probably already be familiar with most of the things. 

Build Better Java Web Apps 

One email a month: Vaadin release news, expert tutorials, and guides for Java developers.

Learn how to build a Vaadin & Gemini AI chatbot.

Building a Vaadin & Gemini AI chatbot: Context management and UI customization

Welcome to part two of our series on building an AI-powered chatbot using Vaadin and Google's Gemini AI 1.5 model. In this post, we’ll enhance the basic Gemini AI chatbot from part one with advanced features like context management, a customized UI with Vaadin components, and an improved user ...
Think twice before overriding Object.equals()

Think twice before overriding Object.equals()

Overriding the Object.equals(Object) method, and its “companion” Object.hashCode(), provides your classes with some superpowers, but they are also one of the most common sources of problems that I see new and sometimes also more experienced Java and Vaadin developers struggling with. Some ...
Asynchronous JavaScript execution in Vaadin Flow

Asynchronous JavaScript execution in Vaadin Flow

Web applications built entirely in Java. That promise holds true when core Vaadin Flow components and browser APIs are enough. However, if you’re creating custom components or using modern asynchronous browser APIs, you’re likely to encounter a very different kind of “Promise.” JavaScript's ...

Performance testing a Vaadin application: Part 4 Gatling

Gatling is a free, open-source performance testing tool. It was first released 2012 and has since gained in popularity. In addition to its free tools, Gatling offers a wide range of (commercial) professional services. Gatling is mainly implemented with the Scala programming language (as opposed to ...

Performance testing a Vaadin application: Part 3 Apache JMeter

JMeter is one of the most popular performance testing tools. First released at the end of 1998, JMeter became the default choice for many companies needing to measure the performance of their software. In 2016, it was estimated that half of all companies performing load tests used JMeter. It is ...

Performance testing a Vaadin application: Part 2 Application internals

In this post, you get to know the Vaadin internals that are relevant from a load-testing perspective. It is necessary to delve into these details, because they explain why you cannot simply replay a previously-recorded scenario when load testing a Vaadin app. You also need to deal with unique ...

Performance testing a Vaadin application: Part 1 introduction

At Vaadin, we are often asked if it is possible to run performance tests on an application to prove that it fulfills its non-functional requirements. In this blog series, we answer that question, introduce you to performance testing and help you get started with the process. The first blog post ...