Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
531 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 FilesNetBeans 6.8etc
etbeans.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 ]


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...