New VS Code users
Follow Microsoft's Java setup guide. Windows and Mac users can choose the Coding Pack for Java.
Set up Java in VS CodeBrooklyn College Computer Science Department
Choose one setup option. NetBeans with Java included is the easiest choice for most students.
This information can help you choose the correct installer. Some browsers limit the details a website can detect, so unavailable information is labeled rather than guessed.
Mac users: Open the Apple menu, choose About This Mac, and look for Chip or Processor. Apple M1, M2, M3, M4, or later means Apple Silicon (arm64). An Intel processor means Intel (x86_64).
Use the installer page for Windows, macOS, or Ubuntu/Linux. Mac users should choose Apple Silicon (arm64) for M-series Macs or Intel (x86_64) for older Intel Macs.
These convenience installers use the Apache NetBeans release but are provided by Codelerity, not as official Apache Software Foundation releases.
VS Code can compile, run, test, and debug Java after Java support is installed.
Follow Microsoft's Java setup guide. Windows and Mac users can choose the Coding Pack for Java.
Set up Java in VS CodeAdd Java language support, running, testing, debugging, and project tools.
Install the Extension Pack for JavaChoose this option only if you want or need the Java compiler and development tools separately.
64-bit Windows installer.
Download JDK 25 for WindowsFor M-series Macs using arm64.
Download JDK 25 for Apple Silicon MacFor older Intel-based Macs using x86_64.
Download JDK 25 for Intel Mac64-bit .deb package.
Download JDK 25 for Ubuntu/DebianUse an online compiler when you cannot install software or want to test a small program quickly.
A browser-based Java compiler.
Open Codiva Java CompilerCompile and run Java in a browser.
Open JDoodle Java CompilerBrowser-based IDE with file support.
Open JDoodle AdvancedCore Java and Kotlin development features are available at no cost.
Download IntelliJ IDEA for Windows, macOS, or LinuxThese links are retained for students using older Macs, Chromebooks, or other legacy systems.