Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Java CompilerNew to Visual Studio Code? Get it now.
Java Compiler

Java Compiler

whyyou

|
23 installs
| (0) | Free
A seamless in-editor Java compiler and executor for VSCode—compile and run Java files without ever leaving the editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Java In-Editor Compiler

Java Compiler Icon

Java In-Editor Compiler transforms VSCode into a lightweight Java compiler and executor. It captures your Java source code, invokes the javax.tools.JavaCompiler API under the hood, compiles the code in-memory, and streams both compilation diagnostics and runtime output directly to the integrated terminal.

✨ Features

  • 🔨 Embedded Compilation: Compile any Java source files without external build tools.
  • ▶️ Live Execution: Instantly run compiled classes and view output in-editor.
  • 📝 Diagnostic Reporting: Real-time compiler warnings and errors highlighted in the Problems pane.
  • ⚡ In-Memory Workflow: No disk-based class files—compilation and execution occur entirely in memory.
  • 🔄 Seamless Integration: Works with single files or multi-class projects, respecting package structure.

🤝 Contributing

Contributions welcome! Please open an issue or submit a pull request for bug fixes, new features, or enhancements.

📝 License

Distributed under the MIT License. See LICENSE for details.

📞 Support

For issues or feedback, open an issue on GitHub.

📋 Supported Algorithms

  • fibonacci
  • factorial
  • minmax
  • sumoddeneven
  • mergesort
  • quicksort
  • heapsort
  • binarysearch
  • mst
  • prims
  • kruskal
  • dijkstra
  • floydwarshall
  • graphcoloring
  • hamiltonian
  • tsp
  • knapsack
  • matrixchain
  • matrix
  • largeintmult
  • bruteforce
  • kmp
  • rabinkarp
  • naive
  • boyermoore
  • bellmanford
  • edmondskarp
  • fordfulkerson
  • astar
  • tarjan
  • kosaraju
  • fenwick
  • segmenttree
  • suffixarray
  • convexhull
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft