What’s New in IntelliJ IDEA 2025.2? AI Coding, Java 25, Maven 4, and More

IntelliJ IDEA 2025.2 introduces major AI‑assisted coding upgrades, full Java 25 support, early Maven 4 compatibility, JSpecify nullability annotations, a Spring debugger, virtual‑thread debugging enhancements, and highlights a popular open‑source SpringBoot3 + Vue e‑commerce project for developers.

macrozheng
macrozheng
macrozheng
What’s New in IntelliJ IDEA 2025.2? AI Coding, Java 25, Maven 4, and More

JetBrains has officially released IntelliJ IDEA 2025.2, bringing a host of new features for developers.

AI Assisted Coding Upgrade

This version significantly upgrades the AI Assistant and Junie (JetBrains AI coding agent) with more flexible model selection, smarter context management, and broader protocol support. All JetBrains AI features are now free, offering unlimited code completion, powerful local workflows, and limited cloud capabilities.

Selecting AUTO in the model dropdown lets the IDE automatically choose the optimal model for the best generation quality and cost efficiency.

Junie now supports the Model Context Protocol (MCP), enabling deeper context awareness and smarter task execution through external tool integration.

Java 25 Support

As the next long‑term support (LTS) release, Java 25 receives comprehensive support in IntelliJ IDEA 2025.2, including both final and preview features. Developers can download early‑access builds of Java 25 directly within the IDE, easing migration from earlier versions such as Java 11, 17, and 21.

Maven 4 Support

With Maven 4 nearing its official release, the IDE now offers early support, ensuring reliable project synchronization, accurate output, and full compatibility with the new modelVersion syntax and navigation.

JSpecify Support

To address common nullability issues in Java, IntelliJ IDEA now treats JSpecify annotations as first‑class citizens. Its static analysis can detect complex nullability problems in generics and collections and improves cross‑language null‑safety when Kotlin interacts with Java.

Spring Debugger

This feature fundamentally improves how developers understand and troubleshoot Spring applications by integrating real‑time runtime insights directly into the IDE. It visualizes loaded beans, mock status, resolved configuration values, database connections, and transaction states. The plugin is available via the JetBrains Marketplace and will be bundled in future releases.

Virtual Thread Debugging

The debugger and thread dump viewer now fully support virtual threads introduced in JDK 21. They can collect and inspect virtual threads, show locked objects, and automatically group threads with identical stack traces, making large dumps easier to navigate.

Note: Based on early user feedback, the virtual‑thread debugging experience may still have some issues, so updating is optional for now.

For a deeper dive, visit the official "What’s New" page at https://www.jetbrains.com/idea/whatsnew/.

This may be a useful open‑source project: the mall project is a SpringBoot3 + Vue e‑commerce system (GitHub ★60K) with a modern micro‑service architecture, Docker and K8s deployment, covering product, order, cart, permissions, coupons, membership, payment, and more.

Boot project: https://github.com/macrozheng/mall

Cloud project: https://github.com/macrozheng/mall-swarm

Tutorial site: https://www.macrozheng.com

The full video tutorial series (≈40 hours, 113 episodes) provides end‑to‑end guidance on building and deploying the project, helping you gain comprehensive Java stack experience and improve independent project development skills.

IntelliJ IDEAVirtual ThreadsJava 25Maven 4Open Source ProjectSpring Debugger
macrozheng
Written by

macrozheng

Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.