Netbeans没有在Ubuntu 14.10开放

时间:2015-06-27 09:40:19

标签: java linux ubuntu netbeans

从终端打开时,Netbeans无法在Ubuntu中打开,显示以下错误。

java.lang.NoClassDefFoundError: java/nio/file/InvalidPathException
at org.openide.filesystems.FileUtil.normalizeFileImpl(Unknown Source)
at org.openide.filesystems.FileUtil.normalizeFile(Unknown Source)
at org.netbeans.core.startup.TopLogging.printSystemInfo(Unknown Source)
at org.netbeans.core.startup.TopLogging.initialize(Unknown Source)
at org.netbeans.core.startup.TopLogging.initialize(Unknown Source)
at org.netbeans.core.startup.CLIOptions.initialize(Unknown Source)
at org.netbeans.core.startup.Main.start(Unknown Source)
at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.ClassNotFoundException:  
java.nio.file.InvalidPathException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
... 9 more
请帮助我...

1 个答案:

答案 0 :(得分:0)

  • Netbeans没有打开命令,因为shell不知道二进制文件的路径。
  • 如果二进制文件位于/ usr / bin(应用程序二进制文件的默认路径),它们将立即打开