问题:我启动Netbeans 8.2,会显示启动对话框,它会超过启动模块,然后退出。 IDE无法启动。在此之后仍有一些东西在运行( ps aux | grep netbeans 显示正常的Netbeans进程正在运行)我查看了日志文件(~/netbeans-8.2/nb/var/log/
和〜/ .netbeans / 8.2 / var / log /`)并发现了这些警告:
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module org.netbeans.asciidoc: added = [module org.netbeans.api.templates > 1.0, module org.netbeans.api.progress.compat8 > 1.40, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.netbeans.api.progress.nb > 1.40, module org.openide.filesystems.compat8] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup, Swing dependencies split away, Templates API has been separated into its own module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module show.branch.in.statusbar: added = [module org.netbeans.api.templates > 1.0, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.openide.filesystems.compat8] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup, Templates API has been separated into its own module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module eu.doppel_helix.netbeans.plist.PropertyListSupport: added = [module org.netbeans.api.templates > 1.0, module org.netbeans.modules.csl.types/1 > 1.0, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.openide.filesystems.compat8, module org.netbeans.modules.editor.document > 1.0, module org.netbeans.modules.parsing.indexing > 9.0] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of Parsing and Indexing APIs, Separation of desktop and cleanup, Splitting parts of csl.api off into csl.types, Templates API has been separated into its own module., The old editor settings and completion APIs have been deprecated, see http://wiki.netbeans.org/EditorSettingsUpgrade and update your module.]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module nb.maven.project.setjdk: added = [module org.openide.filesystems.nb, module org.openide.filesystems.compat8, module org.openide.util.ui > 9.3] removed = []; details: [#243100: Separate desktop-independent utilities, Separation of desktop and cleanup]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module de.markiew.netbeans.plugin.restart: added = [module org.openide.util.ui > 9.3] removed = []; details: [#243100: Separate desktop-independent utilities]
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module com.peter.mavenrunner: added = [module org.openide.filesystems.nb, module org.openide.filesystems.compat8] removed = []; details: [Separation of desktop and cleanup]
INFO [org.netbeans.modules.netbinox]: Install area set to file:/home/o.o/netbeans-8.2/
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.form.nb] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.hints, org.netbeans.modules.maven.hints, org.netbeans.modules.maven.j2ee, org.netbeans.modules.web.beans] use org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java Hints SPI (org.netbeans.spi.java.hints) instead.
WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [SNIP: very long list of xml files]
WARNING [null]: Last record repeated 2 more times.
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: [SNIP: list of modules]
... [More Info entries]...
WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Git], but some are: [File, Clipboard, UndoRedo, Build, Debug, Memory, Standard.xml, Debugging.xml]
INFO [org.netbeans.libs.svnclientadapter]: Javahl client adapter is not available
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /usr/lib/jvm/java-8-oracle/jre/lib/amd64:/usr/lib/jvm/java-8-oracle/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: JavaHL not available. Falling back on SvnKit.
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 0 entries. Elapsed time: 0 ms.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: svnClientAdapter running on svnkit
我没有明确地运行任何Netbeans更新。 Netbeans将工作几天,然后遇到这个问题。
解决方法:谷歌叔叔说(大多数搜索结果,例如this,还包括SO)说要删除Netbeans用户目录,即~/.netbeans/8.2/
(以及Netbeans缓存目录)这有效但我必须重新安装我的插件并重做我的快捷键。
我的系统:
问题:我应该在哪里查找Netbeans无法加载的内容?我讨厌这个工作,想找到罪魁祸首
答案 0 :(得分:2)
如果看到.locked文件,请在〜/ .netbeans / 8.2 /文件夹中查找。 当netbeans实例正在运行或已停止时,此文件由netbeans创建。 Juste删除了它并再次运行。
答案 1 :(得分:0)
对我有用
右键单击下载的软件包
- 以管理员身份运行
您将看到已经安装的软件包和未标记的软件包
我的是Java EE,然后只需单击安装即可解决问题。