NetBeans 配置文件 (netbeans.conf) 位于何处? [英] where is the NetBeans config file (netbeans.conf) located?
问题描述
我的 NetBeans 在界面中有难看的字体.我要为它做抗锯齿.在互联网上我看到应该有
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
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on
在netbeans_default_options 中.此文件应位于/etc/netbeans.conf 中.但是没有这个文件.我有 NetBeans 6.8.请帮忙.
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 ~]$ cd ~/.netbeans/6.8/
[ockonal@wincode 6.8]$ ls
[ockonal@wincode 6.8]$ ls
ant build.properties docs lib 模块源update_tracking bin 配置
jsstubs 锁定本机更新变量
ant build.properties docs lib modules sources
update_tracking bin config
jsstubs lock native update var
UPD2使用 utilite find 我做了:
UPD2 With utilite find I did:
find/-name 'netbeans.conf'
find / -name 'netbeans.conf'
这给了我:
/usr/share/netbeans/etc/netbeans.conf
/usr/share/netbeans/etc/netbeans.conf
推荐答案
在我的 NetBeans 6.7 中,此文件位于
In my NetBeans 6.7, this file is located at
{netbeans-installation-dir}/etc/netbeans.conf
我想如果您使用的是 Windows 和默认文件夹,您应该可以在这里找到:
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
在 linux 机器上,您应该可以在这里的某处找到该文件
On a linux box, you should be able to find the file somewhere here
在 Linux 上,安装程序让用户选择要安装 NetBeans 的位置.您可以在/home/yourname/netbeans/etc/netbeans.conf 或/opt/netbeans/etc/netbeans.conf 下找到它.[来自 http://wiki.netbeans.org/FaqNetbeansConf ]
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 ]
这篇关于NetBeans 配置文件 (netbeans.conf) 位于何处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!