Apache NetBeans
Apache Software Foundation · 适用于 Java、PHP、JavaScript、HTML5 和 CSS 的跨平台 IDE,提供语义编辑、重构、应用程序向导和模板。
brew install --cask netbeans- 近 30 天安装
- 238
- App榜第 693
- 近一年安装
- 1,943
- 365 天累计
- 最新版本
- 32
- 下载大小
- 747MB
- pkg
- 更新节奏
- 每两周
- 近 30 天 2 个版本
介绍
Apache NetBeans 是 Apache Software Foundation 的开源开发环境、工具平台和应用框架。它提供源代码语法和语义高亮、重构工具、编辑器、向导和模板,用于构建 Java、PHP 及其他应用程序。其 Web 工具还支持 JavaScript、HTML5 和 CSS。
NetBeans 是基于 Java 的跨平台 IDE,支持 macOS、Windows、Linux 和 BSD。此 Homebrew cask 使用 Friends of Apache NetBeans 安装程序发行版来安装 macOS 应用程序;记录中的 Apple 芯片安装包为 Apache-NetBeans-31-arm64.pkg。使用 brew install --cask netbeans 安装。选择 JDK 前,请查阅对应版本的官方安装要求。
上游 Apache 仓库发布详细的发行说明,按语言、构建系统和 IDE 子系统分类。本任务中后端记录的最新三个版本为 31、30 和 29;这些是分别记录的版本,并不表示已收录所有上游发行版本。
来源:
基本信息
- 芯片
- Apple 芯片 · Intel
- 自动更新
- 否
- 仓库
- 开源 · Apache-2.0 · 1 天前更新★3,165
- 开发者
- Apache Software Foundation
- Homebrew
- 可以安装,由 Homebrew 更新
- 其他名称
- NetBeans IDE, netbeans
- 主页
- netbeans.apache.org
- 软件包标识符
- netbeans
核查日期
32 更新内容
新版本 · 来自 GitHub Release
[!NOTE] Platform users: Setting content type by mime type String for NetBeans editor kits is no longer supported and will fail on JDK 27 and later, obtain the EditorKit instead:
jtextarea.=>setContentType("text/ x-properties") jtextarea.Set the sytem propertysetEditorKit(CloneableEditorSupport. getEditorKit("text/ x-properties")) nb.to disable this warning (https://github.com/apache/netbeans/issues/9523, https://github.com/apache/netbeans/pull/9721). Symptom:disable. editorkit. hack= true JEditorPanerenders with plain text kit
What's Changed
Gradle
- Upgrade Gradle Tooling to 9.8.0 by @mbien in https://github.com/apache/netbeans/pull/9640
Maven
- Cleanup maven tests using text blocks by @mbien in https://github.com/apache/netbeans/pull/9648
- Allow usage of Java Single File Launcher in non-Java projects by @jtulach in https://github.com/apache/netbeans/pull/9666
- Pause remote index download attempts when rate limited by @mbien in https://github.com/apache/netbeans/pull/9704
- Fix effective pom model tab on JDK 27 by @mbien in https://github.com/apache/netbeans/pull/9705
- Skip unnecessary source level queries where possible by @mbien in https://github.com/apache/netbeans/pull/9697
- Fixed more maven related editor kits on JDK 27 by @mbien in https://github.com/apache/netbeans/pull/9713
- Bump MavenVersionSettings fallback versions for NB32 by @mbien in https://github.com/apache/netbeans/pull/9720
Ant
- Revert xml factory config change in nbbuild util by @mbien in https://github.com/apache/netbeans/pull/9577
- Permit entire folder of JARs to be included as one classpath entry by @michaelsembwever in https://github.com/apache/netbeans/pull/9545
- Straightforward use of
ant javadocon JDK25+ by @jtulach in https://github.com/apache/netbeans/pull/9701
Java
- Run lib.profiler unit tests in CI by @wilx in https://github.com/apache/netbeans/pull/9526
- Fix unresolved sticky class GC roots by @wilx in https://github.com/apache/netbeans/pull/9497
- java.source.base: Collection/Stream focused code renovation by @mbien in https://github.com/apache/netbeans/pull/9553
- Update SuppressWarnings hint with full set of diag keys by @mbien in https://github.com/apache/netbeans/pull/9578
- java.lexer: The va "int va =" is incorrectly lexed to "va " (includes trailing space) by @matthiasblaesing in https://github.com/apache/netbeans/pull/9586
- Stabilize ClassIndexTest#testQueryIndexRefreshQueryAgain by @mbien in https://github.com/apache/netbeans/pull/9600
- Improving error messages when an annotation processor crashes. by @lahodaj in https://github.com/apache/netbeans/pull/9560
- JavadocHelper: Support Automatic-Module-Name for Javadoc URL lookup by @NicolaIsotta in https://github.com/apache/netbeans/pull/9528
- Update embedded tomcat from 9.0.120 to 11.0.25 by @mbien in https://github.com/apache/netbeans/pull/9590
- Update
JavaIndexwhen a file without its project is opened by @JaroslavTulach in https://github.com/apache/netbeans/pull/9622 - Added printing arrays with java.lang.IO warning. by @gem-bricks in https://github.com/apache/netbeans/pull/9632
- Control indentation of nested projects by UIManager properties by @jtulach in https://github.com/apache/netbeans/pull/9627
- Inspect all stratas to find a source file by @jtulach in https://github.com/apache/netbeans/pull/9433
- Ergonomics detect missing support for apisupport projects by @jtulach in https://github.com/apache/netbeans/pull/9636
- Replace terminally deprecated SourcePositions method usage by @mbien in https://github.com/apache/netbeans/pull/9623
- Update embedded tomcat from 11.0.25 to 11.0.26 by @mbien in https://github.com/apache/netbeans/pull/9689
- Fix NPE during form designer component rename by @mbien in https://github.com/apache/netbeans/pull/9674
- Stable ordering for legacy hint items in popup by @mbien in https://github.com/apache/netbeans/pull/9676
- Fixing intersection type handling in code completion by @lahodaj in https://github.com/apache/netbeans/pull/9692
- JPDA: Fix Save Value to File for large debugger strings by @matthiasblaesing in https://github.com/apache/netbeans/pull/9635
- Fixing support for --patch-module= by @lahodaj in https://github.com/apache/netbeans/pull/9585
- JTReg debugger bridge should listen on loopback, not localhost to improve stability; adding ability to specify address on which the bridge should listen. by @lahodaj in https://github.com/apache/netbeans/pull/9707
- Hyperlinks to object variables & co. in the debugging console by @jtulach in https://github.com/apache/netbeans/pull/9691
- Fix IllegalStateException when typing an unterminated string in Go by @emilianbold in https://github.com/apache/netbeans/pull/9660
- parsing.lucene: reader.terms("references") could be null by @mbien in https://github.com/apache/netbeans/pull/9729
- Sanitize erroneous package annotations before index generation by @mvanhorn in https://github.com/apache/netbeans/pull/9777
JavaFX
- OpenJFX: Add openjfx-fxml library (XML based GUI definitions) by @matthiasblaesing in https://github.com/apache/netbeans/pull/9565
PHP
- PHP: Fix formatting of enums with names that are keywords (unset, if,case, ...) by @matthiasblaesing in https://github.com/apache/netbeans/pull/9535
- Migrate to JDK 21 unix sockets by @mbien in https://github.com/apache/netbeans/pull/9597
- [PHP] keyword return omitted in a constructor override by @DamImpr in https://github.com/apache/netbeans/pull/9604
Enterprise
- Fix possible NPE in Payara reload action by @mbien in https://github.com/apache/netbeans/pull/9556
- Add support for GlassFish 8.0.1, 8.0.2, 8.0.3, and 8.0.4 by @pepness in https://github.com/apache/netbeans/pull/9569
- JSF: skip looking for managed/named beans on incompatible JSF versions by @NicolaIsotta in https://github.com/apache/netbeans/pull/9489
- fix and enable unit tests in the web.jsf.editor module by @NicolaIsotta in https://github.com/apache/netbeans/pull/9617
- JSF: avoid suggesting UIComponent default attributes on non-component tags by @NicolaIsotta in https://github.com/apache/netbeans/pull/9606
- JSF: support custom component new URN namespace by @NicolaIsotta in https://github.com/apache/netbeans/pull/9625
- JSF: Fix and implement getBeansInScope in EL resolvers by @NicolaIsotta in https://github.com/apache/netbeans/pull/9678
- JSF: Add an hint for duplicate attributes on faces tags by @NicolaIsotta in https://github.com/apache/netbeans/pull/9699
Web
- Fixing edit application and code completion filtering in the LSP client. by @lahodaj in https://github.com/apache/netbeans/pull/9633
- CSS: Add support for psudo klasse :host-context by @matthiasblaesing in https://github.com/apache/netbeans/pull/9710
Versioning
- JGIT SSH commit signing / NetBinox removal / JNA as OSGI bundle by @matthiasblaesing in https://github.com/apache/netbeans/pull/9483
- Update jgit to version 7.7.1, Bouncy Castle to 1.85 and Apache Mina SSH to 2.19.0 by @matthiasblaesing in https://github.com/apache/netbeans/pull/9576
- jgit tests update to default branch by @ebarboni in https://github.com/apache/netbeans/pull/9686
- git commit dialog: disable line wrap by @mbien in https://github.com/apache/netbeans/pull/9703
- Git: Add missing package import org.ietf.jgss to JGIT packages by @matthiasblaesing in https://github.com/apache/netbeans/pull/9755
Editor
- XMLSyntaxParser: tolerate a UTF-8 BOM at the start of XML documents by @NicolaIsotta in https://github.com/apache/netbeans/pull/9540
- code indexing: update libs.lucene from 9.12.3 to 10.5.1 by @mbien in https://github.com/apache/netbeans/pull/9593
- Docker: Allow to issue pull on tag entry (i.e. to fetch updates for the tag) by @matthiasblaesing in https://github.com/apache/netbeans/pull/9619
- Docker: Enhance run dialog to define an environment for the container by @matthiasblaesing in https://github.com/apache/netbeans/pull/9618
- Facelift on spellchecker.bindings.htmlxml by @lkishalmi in https://github.com/apache/netbeans/pull/9508
- Persist window sizes for manage-groups and open-project actions by @mbien in https://github.com/apache/netbeans/pull/9690
- Fix path sort comparator to be children-first and add test by @mbien in https://github.com/apache/netbeans/pull/9730
- Improve EditorKit injection warning for platform users by @mbien in https://github.com/apache/netbeans/pull/9721
UI Changes
- Fix typo in nb.output.background UI property by @mbien in https://github.com/apache/netbeans/pull/9520
- Show nested projects co-located and indented by @jtulach in https://github.com/apache/netbeans/pull/9602
- Consistently sort Projects and Files view by path by @jtulach in https://github.com/apache/netbeans/pull/9629
- Small splash startup optimization by @mbien in https://github.com/apache/netbeans/pull/9677
Language Server Protocol
- Avoid ClassCastException when testing
containsby @jtulach in https://github.com/apache/netbeans/pull/9643
Maintenance
- Fix sporadic "Could not validate Info.xml" build error by @mbien in https://github.com/apache/netbeans/pull/9575
- CI: update to setup-java 6.x and cleanup javac matcher config by @mbien in https://github.com/apache/netbeans/pull/9573
- Running
ide/tests in the CI checks by @jtulach in https://github.com/apache/netbeans/pull/9603projectui - CI: fix setup-java ea temurin sigcheck failure by @mbien in https://github.com/apache/netbeans/pull/9611
- CI: run cleanup job on ubuntu-slim by @mbien in https://github.com/apache/netbeans/pull/9609
- Move libs.tomlj to rust cluster by @mbien in https://github.com/apache/netbeans/pull/9620
- nbbuild: upgrade sigtest-maven-plugin from 2.3 to 2.7 by @ebarboni in https://github.com/apache/netbeans/pull/9594
- Udpate antlr 4.13.1 to antlr 4.13.2 by @ebarboni in https://github.com/apache/netbeans/pull/9628
- Switch CI from 27ea to ga by @mbien in https://github.com/apache/netbeans/pull/9634
- Update ASM 9.10 to 9.10.1 by @ebarboni in https://github.com/apache/netbeans/pull/9639
- upgrade some commons libs, jsvg, junit and testng by @ebarboni in https://github.com/apache/netbeans/pull/9641
- Update commons_io 2.18.0 to 2.22.0
- Update commons_logging 1.3.5 to 1.4.0
- Update commons_codec 1.21.0 to 1.22.1
- Update commons_lang3 3.19.0 to 3.20.0
- Upgrade jsvg 1.7.1 to 1.7.2
- Update junit 5.10.3 to 5.14.4
- Update testNG 7.11.0 to 7.12.0 + Project fixes to handle 7.12.0
- update Apache RAT 0.15 to 0.18 by @ebarboni in https://github.com/apache/netbeans/pull/9669
- Update Bouncy Castle to 1.86 and Apache Mina SSH to 2.20 by @mbien in https://github.com/apache/netbeans/pull/9688
- Update ASM 9.10.1 to 9.11 by @mbien in https://github.com/apache/netbeans/pull/9695
- XML Lexer: Support ENTITY, NOTION, Enumerations with NMTokens for DTD editor by @matthiasblaesing in https://github.com/apache/netbeans/pull/9700
Other Changes
- Bump config importer version gap limit from 3 to 5 releases by @mbien in https://github.com/apache/netbeans/pull/9558
- Let
ProjectsRootNode.use the real keys by @jtulach in https://github.com/apache/netbeans/pull/9589getNodes(true) - Let
--close-groupempty the project list by @jtulach in https://github.com/apache/netbeans/pull/9670 - Open Required Projects by default by @jtulach in https://github.com/apache/netbeans/pull/9715
- Fix profiler build by downgrading nbbuild to 11 by @mbien in https://github.com/apache/netbeans/pull/9717
- Reduce rat report by relativizing path by @ebarboni in https://github.com/apache/netbeans/pull/9724
- Fix java.mx test failure on ubuntu 26.04 by @mbien in https://github.com/apache/netbeans/pull/9746
New Contributors
- @wilx made their first contribution in https://github.com/apache/netbeans/pull/9526
- @gem-bricks made their first contribution in https://github.com/apache/netbeans/pull/9632
- @mvanhorn made their first contribution in https://github.com/apache/netbeans/pull/9777
Full Changelog: https://github.com/apache/netbeans/compare/31...32
如何在 Mac 上安装 Apache NetBeans
Homebrew 会运行安装包 Apache-NetBeans-32-arm64.pkg,需要输入管理员密码。
不用 Homebrew 安装
按芯片下载 Homebrew 使用的文件: 安装细节
卸载 Apache NetBeans 与可选的数据清理
brew uninstall --cask netbeans普通卸载会删除应用本身,设置和缓存会保留。
深度清理(可选)
brew uninstall --zap --cask netbeans--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。
关于 Apache NetBeans 的常见问题
Apache NetBeans 安全吗?
Apache NetBeans 收录在 Homebrew 官方软件库中,没有被停用。自 2026 年 9 月起,Homebrew 会停用没有通过 macOS Gatekeeper 检查的应用。安装时,Homebrew 会用 SHA-256 校验值核对来自 github.com 的安装包。过去 30 天,它通过 Homebrew 安装了 238 次。
Apache NetBeans 是开源软件吗?
Apache NetBeans 的源代码公开在 GitHub 上(apache/netbeans),使用 Apache-2.0 许可证。
怎样在 Mac 上彻底卸载 Apache NetBeans?
运行 brew uninstall --cask netbeans。它会清除 2 条安装记录。要连设置和缓存一起删除,运行 brew uninstall --zap --cask netbeans。--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。这会再删除 2 处文件和文件夹,包括 ~/。
Apache NetBeans 支持 Apple 芯片(M1 及更新)的 Mac 吗?
支持。Homebrew 会为 Apple 芯片和 Intel 芯片的 Mac 分别下载不同的安装包。
Apache NetBeans 的设置和数据保存在哪里?
数据保存在 ~/。这些位置来自 Homebrew 的清理清单。
Apache NetBeans 的最新版本是多少?
最新版本是 32,Homebrew 收录于 2026年11月28日。运行 brew upgrade --cask netbeans 即可更新。
安装 Apache NetBeans 还会装上什么?
它通过 .pkg 安装器安装,安装时需要输入管理员密码。
相似应用
- TraeTrae 是一款自适应 AI IDE,以 macOS 桌面应用形式提供。
- nrfutil用于 Nordic Semiconductor 产品的统一命令行工具。
- VisualVMJava 故障排查工具,用于监控 JVM、分析 CPU 和内存性能,以及分析线程转储和堆转储。
- Trae CNTrae CN 是一款以 macOS 应用形式提供的自适应 AI IDE。