where is the NetBeans config file (netbeans.conf) located?

Max Frai picture Max Frai · Mar 15, 2010 · Viewed 53.3k times · Source

my NetBeans has ugly fonts in interface. I'm going to make antialiasing for it. In internet I saw that there is should be

-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on

in netbeans_default_options. This file should be located in /etc/netbeans.conf. But there isn't this file. I have NetBeans 6.8. Help, please.

UPD:

[ockonal@wincode ~]$ cd ~/.netbeans/6.8/

[ockonal@wincode 6.8]$ ls

ant build.properties docs lib modules sources update_tracking bin config
jsstubs lock native update var

UPD2 With utilite find I did:

find / -name 'netbeans.conf'

This gave me:

/usr/share/netbeans/etc/netbeans.conf

Answer

wtaniguchi picture wtaniguchi · Mar 15, 2010

In my NetBeans 6.7, this file is located at

{netbeans-installation-dir}/etc/netbeans.conf

I guess if you are using Windows, and the default folders, you should be able to find somewhere here:

C:\Program Files\NetBeans 6.8\etc\netbeans.conf

On a linux box, you should be able to find the file somewhere here

On Linux the installer lets the user choose where you want to install NetBeans. You may find it under /home/yourname/netbeans/etc/netbeans.conf or /opt/netbeans/etc/netbeans.conf. [ from http://wiki.netbeans.org/FaqNetbeansConf ]