Gephi 上传 csv 文件或在 Gephi 打开页面选择样本 Les Miserables.gexf 抛出 java.util.MissingResourceException 错误

Gephi uploading csv file or choosing sample Les Miserables.gexf on the opening page of Gephi throws java.util.MissingResourceException error

以下是 Gephi 给我的完整错误消息 - 当我尝试上传 csv 文件时。

我有java版本:java版本“1.8.0_221”和gephi版本0.9.2。 我的 java 工作得很好,我设置了环境变量并进行了测试 it.And 我还配置了 --jdkhome 路径设置如下

jdkhome="C:\Program Files\Java\jdk1.8.0_221" // in gephi.conf file.

但这对 me.After 不起作用,我已经尝试右键单击 Gephi 图标,选择属性,编辑目标如下

"C:\Program Files\Gephi-0.9.2\bin\gephi64.exe" --jdkhome "C:\Program Files\Java\jdk1.8.0_221"

我在 Gephi.com 中也看到了那句话 "Java is bundled with the application so it doesn't have to be installed separately. On Windows and Linux, the system must be equipped with Java." 什么意思?

但这也没有用。任何帮助将不胜感激 !!

我搜索了整个互联网,通常人们会收到错误消息:“Java 未找到”。但这不是我的问题,我的打开时没有任何错误。然后当我尝试上传例如 Nodes1.csv 文件时,出现以下错误。

java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ReportPanel.mergeStrategy.mın
    at java.util.ResourceBundle.getObject(Unknown Source)
    at java.util.ResourceBundle.getString(Unknown Source)
    at org.openide.util.NbBundle.getMessage(NbBundle.java:642)
    at org.gephi.desktop.importer.EdgesMergeStrategyWrapper.toString(EdgesMergeStrategyWrapper.java:90)
    at javax.swing.plaf.basic.BasicComboBoxRenderer.getListCellRendererComponent(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsComboBoxUI$WindowsComboBoxRenderer.getListCellRendererComponent(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.getMinimumSize(Unknown Source)
    at javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.GridBagLayout.GetLayoutInfo(Unknown Source)
    at java.awt.GridBagLayout.getLayoutInfo(Unknown Source)
    at java.awt.GridBagLayout.ArrangeGrid(Unknown Source)
    at java.awt.GridBagLayout.arrangeGrid(Unknown Source)
    at java.awt.GridBagLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access0(Unknown Source)
    at java.awt.EventQueue.run(Unknown Source)
    at java.awt.EventQueue.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.run(Unknown Source)
    at java.awt.EventQueue.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

我在程序文件中有 java 版本 1.8 JDK 和 JRE。我刚刚删除了 java 并下载了 JRE 1.8 运行时环境并且它工作了。并且请注意,当多个JRE或JDK安装在同一台机器上时,您可以指定Gephi使用特定路径。如上节所述编辑 gephi.conf,取消注释 jdkhome 行并设置 JRE 或 JDK 路径。