{"id":49428,"date":"2025-08-06T06:26:49","date_gmt":"2025-08-06T06:26:49","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=49428"},"modified":"2025-08-07T14:03:50","modified_gmt":"2025-08-07T14:03:50","slug":"intellij-idea-2025-2-released-with-java-25-and-local-ai-model-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/08\/intellij-idea-2025-2-released-with-java-25-and-local-ai-model-support\/","title":{"rendered":"IntelliJ IDEA 2025.2 Released with JAVA 25 and Local AI Model Support"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-49440\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>JetBrains announced the 2025.2 release of its IntelliJ IDEA and PyCharm IDE yesterday.<\/p>\n<p>In the release, the AI-powered code completion now suggests code blocks for Java in offline, and lets you choose your preferred local code completion model.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-20252.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-49429\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-20252.webp\" alt=\"\" width=\"640\" height=\"400\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-20252.webp 640w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-20252-300x188.webp 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>AI Assistant has been updated with AI-powered code completion for SQL, YAML, JSON, and Markdown, and Junie now is 30% faster and works in remote environments.<\/p>\n<p>There are as well new <i>Project Rules<\/i> file allowing to define project-specific instructions, &#8220;Auto selection&#8221; mode in AI module selection menu. And, AI chat now supports attaching images (Anthropic and OpenAI models only so far), specific tables or views, and adding folders to the chat context.<\/p>\n<p>Junie now supports the Model Context Protocol (MCP), and IntelliJ IDEA can now act as an MCP server for third-party AI agents.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49430\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-700x386.webp\" alt=\"\" width=\"610\" height=\"336\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-700x386.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-300x165.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-768x423.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-1536x847.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25-1320x728.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/java25.webp 1680w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Besides the AI changes, the release also added <b>Maven 4<\/b> support with all the key features that you expect. And, it added support for both final and preview features of the next long-term support (LTS) <b>Java 25<\/b>, as well as made possible to download Java 25 Early Access builds directly from the IDE.<\/p>\n<p>For virtual threads that was introduced in JDK 21, IDEA 2025.2 now supports collecting and inspecting virtual threads in thread dumps, even when the app is paused or at a break-point. And, it can load thread dumps from tools like <code>jstack<\/code> and <code>jcmd<\/code>, giving you more ways to analyze performance issues in highly concurrent apps.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49431\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color-700x337.webp\" alt=\"\" width=\"610\" height=\"294\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color-700x337.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color-300x144.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color-768x369.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color-1320x635.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/scala-full-color.webp 1504w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>As well, the release introduced full support for <b>Scala 3<\/b> opaque types and new generic tuple operations. The new sbt module layout is now stable and enabled by default. And, project sync now automatically generates sbt-managed source files, reducing red code.<\/p>\n<p>Other changes include JSpecify annotations support as first-class citizens, on an equal level with JetBrains&#8217; own annotations, and, native bazel support through the official JetBrains Bazel plugin, as well as following <b>Ultimate only<\/b> features:<\/p>\n<ul>\n<li>Spring Boot With Spring Debugger.<\/li>\n<li>Spring Modulith support.<\/li>\n<li>Improved experience when your subscription expires. The core Java and Kotlin features remain accessible, even if your subscription renewal is delayed.<\/li>\n<li>Experimental support for the new TypeScript-Go language server.<\/li>\n<li><code>SELECT<\/code> statements with <code>JOIN<\/code> clauses can be edited directly.<\/li>\n<li>Quick documentation includes Web Platform Baseline data.<\/li>\n<li>Auto-detect and configure Bun from running scripts to installing package.<\/li>\n<\/ul>\n<h3>Get IntelliJ 2025.2<\/h3>\n<p>The official release note and download link are available in the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/blog.jetbrains.com\/idea\/2025\/08\/intellij-idea-2025-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">IntelliJ IDEA 2025.2<\/a><\/div>\n<\/div>\n<p>For Linux, it&#8217;s a portable tarball includes executable file and most runtime libraries. Just decompress, then run the executable file from it to launch the IDE.<\/p>\n<p>Ubuntu users may choose install the official Snap package from either App Center or Ubuntu Software, though it&#8217;s not updated at the moment of writing.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-49432\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages-700x464.webp\" alt=\"\" width=\"610\" height=\"404\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages-700x464.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages-300x199.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages-768x509.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/08\/idea-snappackages.webp 983w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>And, there are community maintained Flatpak packages (<a href=\"https:\/\/flathub.org\/apps\/com.jetbrains.IntelliJ-IDEA-Community\" target=\"_blank\" rel=\"noopener\">Community<\/a> and <a href=\"https:\/\/flathub.org\/apps\/com.jetbrains.IntelliJ-IDEA-Ultimate\" target=\"_blank\" rel=\"noopener\">Ultimate<\/a>) runs in sandbox environment. For beginners, see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/09\/install-intellij-idea-2023-ubuntu\/\" target=\"_blank\" rel=\"noopener\">step by step<\/a> how to install guide.<\/p>","protected":false},"excerpt":{"rendered":"<p>JetBrains announced the 2025.2 release of its IntelliJ IDEA and PyCharm IDE yesterday. In the release, the AI-powered code completion now suggests code blocks for Java in offline, and lets you choose your preferred local code completion model.<\/p>\n","protected":false},"author":1,"featured_media":49440,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[2086],"class_list":["post-49428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-programming"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=49428"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/49428\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/49440"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=49428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=49428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=49428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}