[Bug 407952] [NEW] starting netbeans6.5 only possible with sudo
hannibal
19aa87 at gmx.de
Sun Aug 2 10:47:55 UTC 2009
Public bug reported:
When I try to start netbeans nothing happens.
With parameter --help I got:
$ netbeans --help
Usage: /usr/share/netbeans/6.5/bin/../platform9/lib/nbexec {options} arguments
General options:
--help show this help
--nosplash do not show the splash screen
--jdkhome <path> path to Java(TM) 2 SDK, Standard Edition
-J<jvm_option> pass <jvm_option> to JVM
--cp:p <classpath> prepend <classpath> to classpath
--cp:a <classpath> append <classpath> to classpath
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.awt.motif.MToolkit.init(Ljava/lang/String;)V
at sun.awt.motif.MToolkit.init(Native Method)
at sun.awt.motif.MToolkit.<init>(MToolkit.java:152)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.Toolkit$2.run(Toolkit.java:861)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841)
at org.openide.util.ImageUtilities.ensureLoaded(Unknown Source)
at org.openide.util.ImageUtilities.access$200(Unknown Source)
at org.openide.util.ImageUtilities$ToolTipImage.createNew(Unknown Source)
at org.openide.util.ImageUtilities.getIcon(Unknown Source)
at org.openide.util.ImageUtilities.getIcon(Unknown Source)
at org.openide.util.ImageUtilities.loadImage(Unknown Source)
at org.netbeans.core.startup.Splash.loadContent(Unknown Source)
at org.netbeans.core.startup.Splash$SplashComponent.<init>(Unknown Source)
at org.netbeans.core.startup.Splash.<init>(Unknown Source)
at org.netbeans.core.startup.Splash.getInstance(Unknown Source)
at org.netbeans.core.startup.Main.setStatusText(Unknown Source)
at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.setStatusText(Unknown Source)
at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.loadCache(Unknown Source)
at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown Source)
at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(Unknown Source)
at org.netbeans.core.startup.layers.SystemFileSystem.create(Unknown Source)
at org.netbeans.core.startup.layers.SessionManager.create(Unknown Source)
at org.netbeans.core.startup.NbRepository.createDefaultFileSystem(Unknown Source)
at org.netbeans.core.startup.NbRepository.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(Unknown Source)
at org.openide.util.lookup.AbstractLookup.lookup(Unknown Source)
at org.openide.util.lookup.ProxyLookup.lookup(Unknown Source)
at org.openide.filesystems.ExternalUtil.initialize(Unknown Source)
at org.openide.filesystems.ExternalUtil.getRepository(Unknown Source)
at org.openide.filesystems.Repository.getDefault(Unknown Source)
at org.netbeans.core.startup.CLICoreBridge.usage(Unknown Source)
at org.netbeans.CLIHandler.showHelp(Unknown Source)
at org.netbeans.CLIHandler.checkHelp(Unknown Source)
at org.netbeans.CLIHandler.initialize(Unknown Source)
at org.netbeans.CLIHandler.initialize(Unknown Source)
at org.netbeans.MainImpl.execute(Unknown Source)
at org.netbeans.MainImpl.main(Unknown Source)
at org.netbeans.Main.main(Unknown Source)
With sudo everything is fine.
$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (6b16~pre4-0ubuntu7)
OpenJDK Server VM (build 14.0-b15, mixed mode)
$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
$ apt-cache policy netbeans
netbeans:
Installiert: 6.5-0ubuntu3
Kandidat: 6.5-0ubuntu3
Versions-Tabelle:
*** 6.5-0ubuntu3 0
500 http://archive.ubuntu.com karmic/universe Packages
100 /var/lib/dpkg/status
** Affects: netbeans (Ubuntu)
Importance: Undecided
Status: New
--
starting netbeans6.5 only possible with sudo
https://bugs.launchpad.net/bugs/407952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list