简体   繁体   English

Netbeans 打不开

[英]Netbeans is not opening

I have netbeans 6.8.我有netbeans 6.8。
I wanted to install jax-rpc plugin and added this link to my plugin finder.我想安装 jax-rpc 插件并将此链接添加到我的插件查找器。
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

I also did something weird.. i think i did check for updates every startup or everyday.我也做了一些奇怪的事情。我想我确实在每次启动或每天都检查更新。

and now it is showing all these errors and not opening up:现在它显示所有这些错误并且没有打开:

Warning - could not install some modules: Bootstrap - The module name   
org.openide.util.lookup was needed and not found. Upgrade - None of the modules  
providing the capability org.openide.modules.ModuleFormat1 could be installed.  
Upgrade  - The module named org.openide.util.lookup was needed and not found. File 
System API - None of the modules providing the capability 
org.openide.modules.ModuleFormat1 could be installed. Module System API - The module   
named org.openide.util.lookup was needed and not found. Startup - None of the modules 
providing the capability org.openide.modules.ModuleFormat1 could be installed. 3 
further modules could not be installed due to the above problems.

And two options "Disable Modules and continue."还有两个选项“禁用模块并继续”。 and "exit".和“退出”。

Pressing anyone closes the ide.按任何人都会关闭 ide。 Also last time when ide was working and installed that plugin it was validating other plugins and i exited during that part.上次当 ide 工作并安装该插件时,它正在验证其他插件,我在那部分退出了。

You could try deleting the NetBeans cache.您可以尝试删除 NetBeans 缓存。 On my platform it's in my home directory, ~/.netbeans/7.0/var/cache .在我的平台上,它位于我的主目录~/.netbeans/7.0/var/cache中。

There is a subdirectory "backup" in your .netbeans/7.x/update directory.在您的 .netbeans/7.x/update 目录中有一个子目录“backup”。 It contains (in my case at least) the files shown in the picture:它包含(至少在我的情况下)图片中显示的文件:

netbeans 备份文件

Just copy them back into the .netbeans/7.x directory, merging and replacing existing files and directories.只需将它们复制回 .netbeans/7.x 目录,合并和替换现有文件和目录。 After doing that, I could start netbeans normally without reinstalling and losing all my addons and preferences.之后,我可以正常启动 netbeans,而无需重新安装和丢失所有插件和首选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM