Disable Error Warnings in NetBeans IDE

You're trying out an early build of NetBeans IDE and are seeing many error messages preventing you from using the parts that are meaningful to you. What to do? Can you disable those error warning messages?

If you'd be able to do that, that would also be useful for the "this always works perfectly, except when I'm doing a demo" scenario, where you tend to suddenly see error messages popping up unexpectedly. (Of course, that means there's an error somewhere. But often not where its relevant for your demo, despite which you see error messages anyway, causing a scary "oooooh" [and some cruel laughter] from your audience.)

Well, here you go, add this to "netbeans_default_options" in your "etc/netbeans.conf" file:

-J-Dnetbeans.exception.alert.min.level=99999 -J-Dnetbeans.exception.report.min.level=99999 

The above settings (thanks to this reference online) should be listed here, which is where all NetBeans options should be listed.

http://bits.netbeans.org/dev/javadoc/properties.html

I'm aware of some missing options in the list above. If you're aware of some missing options too, just leave a message in the comments here (saves you some work in Issuezilla) and I'll make a combined issue for them all.

Officially documented here:

http://bits.netbeans.org/dev/javadoc/org-netbeans-bootstrap/architecture-summary.html

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today