Another item that helps me, apart from replacing OpenJDK with SunJDK is the "Scanning Sources" which can be disabled if you goto Tools -> Options -> Misc -> Files and uncheck the Enable "auto-scanning" of sources.
I am not 100% sure what that option does, but it speeds up my projects. Also I would try NetBeans 7, they have made massive leaps and bounds in the newer versions from the older (not knowing what version you are using).
发布评论
评论(3)
除了用 SunJDK 替换 OpenJDK 之外,另一个对我有帮助的项目是“扫描源”,如果您转到“工具”->“扫描源”,则可以禁用它。选项->杂项 ->文件并取消选中启用源的“自动扫描”。
我不能 100% 确定该选项的作用,但它可以加快我的项目速度。另外,我会尝试 NetBeans 7,它们在新版本中较旧版本取得了巨大的飞跃(不知道您使用的是什么版本)。
Another item that helps me, apart from replacing OpenJDK with SunJDK is the "Scanning Sources" which can be disabled if you goto
Tools -> Options -> Misc -> Files
and uncheck the Enable "auto-scanning" of sources.I am not 100% sure what that option does, but it speeds up my projects. Also I would try NetBeans 7, they have made massive leaps and bounds in the newer versions from the older (not knowing what version you are using).
是的,众所周知,Netbeans 在使用 OpenJDK 时运行速度较慢。
您的问题之前已在 AskUbuntu 上得到解答:
https://askubuntu.com/questions/5567/how-to-install- the-sun-java-jdk
启用合作伙伴存储库,然后使用以下命令安装 Sun Java:
Yes, it's well known that Netbeans runs slower with OpenJDK.
Your question has been answered on AskUbuntu before:
https://askubuntu.com/questions/5567/how-to-install-the-sun-java-jdk
Enable the partner repository and then install Sun Java with:
我会:
I would: