简体   繁体   English

Netbeans 8.2无法启动

[英]Netbeans 8.2 fail to start

The problem: I start Netbeans 8.2, the splash dialogue displays and it gets past Starting Modules and then quits. 问题:我启动Netbeans 8.2,启动对话框显示,并且它经过启动模块,然后退出。 The IDE doesn't start up. IDE无法启动。 Something is still running after this ( ps aux | grep netbeans shows the normal Netbeans process(es) running) I've looked in the log files ( ~/netbeans-8.2/nb/var/log/ and ~/.netbeans/8.2/var/log/`) and found these warnings: 此后某些东西仍在运行( 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

I have not explicitly run any Netbeans updates. 我尚未明确运行任何Netbeans更新。 Netbeans will work for a few days and then hit this issue. Netbeans将工作几天,然后再解决此问题。

The workaround: Uncle Google says (most search results, eg this and also including SO) says to delete the Netbeans user directory, ie ~/.netbeans/8.2/ (as well as the Netbeans cache directory) This works but I have to reinstall my plug-ins and redo my short-cut keys. 解决方法: Google叔叔说(大多数搜索结果,例如, 还包括SO)表示删除Netbeans用户目录,即~/.netbeans/8.2/ (以及Netbeans缓存目录),此方法有效,但我必须重新安装我的插件并重做我的快捷键。

My system: 我的系统:

  • Ubuntu 16.04 (Linux version 4.4.0-53-generic running on amd64; UTF-8; en_GB (nb)) Ubuntu 16.04(在amd64上运行的Linux 4.4.0-53版通用; UTF-8; en_GB(nb))
  • Java: 1.8.0_101; Java:1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Java HotSpot(TM)64位服务器VM 25.101-b13
  • Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13 运行时:Java(TM)SE运行时环境1.8.0_101-b13
  • NetBeans IDE 8.2 (Build 201609300101) NetBeans IDE 8.2(内部版本201609300101)

The question: Where should I look for what makes Netbeans not load? 问题:我应该在哪里寻找导致Netbeans无法加载的原因? I hate the work around and would like to find the culprit 我讨厌周围的工作,想找到罪魁祸首

Find in the ~/.netbeans/8.2/ folder if you see .locked file. 如果看到.locked文件,请在〜/ .netbeans / 8.2 /文件夹中找到。 This file is created by netbeans when an netbeans instance running or bad stopped. 当netbeans实例正在运行或错误停止时,该文件由netbeans创建。 Juste deleted it and run again. Juste将其删除并再次运行。

It work for me right click on downloaded package 它对我有用,右键单击下载的软件包
- run as administrator than you will see Already installed packages and unmark package mine was Java EE then just click install it will solve the problem. -以管理员身份运行,您将看到已经安装了软件包,并且取消标记我的软件包为Java EE,然后单击安装即可解决该问题。

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

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