Java Launcher Introduction
2025-07-11
Java Launcher
⭐️ 中文介绍
Java Launcher is a powerful and intuitive VS Code extension for discovering, running, managing, and debugging your Java applications. Its design is inspired by the seamless run and debug experience in JetBrains IntelliJ IDEA.
Say goodbye to the tedious work of manually editing launch.json
. Java Launcher automatically discovers all runnable entry points in your project—including main
methods, Spring Boot applications, and tests—and displays them in a dedicated view in the Activity Bar. You can even start, restart, or stop your entire microservice stack with a single click.
Links
- Marketplace: VS Code Marketplace
- Repository: Java-Launcher
Core Features
-
Zero-Configuration Run/Debug: Automatically scans and discovers all runnable entry points in your workspace (main methods,
@SpringBootApplication
, JUnit & TestNG tests). -
Clear Tree View: Groups all discovered applications and tests by project module in a dedicated sidebar view for easy management.
-
One-Click Actions: Run, debug, or stop any application directly from the tree view.
-
Compound Launch Configuration: Combine multiple applications into a “Compound Launch Configuration”. You can start your entire microservice stack with one click, in a preset order and with custom delays.
-
Quick Search & Run: Provides a powerful command palette (similar to Ctrl+P) that allows you to quickly find and run any entry point or compound configuration.
-
Powerful Spring Boot Support: Automatically recognizes Spring Boot applications. Easily set and switch Active Profiles for single or all Spring Boot applications.
-
Process Management: View, stop, or restart any Java process started by this extension in a dedicated management interface.
Notes
-
It is recommended to disable the JMX option in VS Code, otherwise you may encounter a JMX port conflict when starting a
Compound Configuration
. If you are not developing remotely, disabling this option will not affect your development and debugging work, and it will reduce Java resource consumption. -
Currently, Java Launcher’s support for Gradle projects is still experimental.