Can I disable Auto Update (for example, while running tests)?

The IDE often checks for updates on startup. This behavior may not be desired in some cases; for example, when running tests on the GUI, because they can slow the application down or potentially change its behavior from what you expected. In order to prevent the Auto Update check, run the application with the netbeans.full.hack system property set to true. For example, use -J-Dnetbeans.full.hack=true on the command line.

Setting this property has some other side-effects; see: DevFaqNetBeansFullHack

Functional tests using NbModuleSuite get this property set automatically. So do unit tests using NbTestCase (though they would rarely need it anyway).

Applies to: NetBeans 6.5 and later

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo