This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117370 - WTK 2.5.2 does not run on Linux/Kubuntu
Summary: WTK 2.5.2 does not run on Linux/Kubuntu
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Adam Sotona
Keywords: RELNOTE
Depends on:
Reported: 2007-10-01 20:33 UTC by Petr Suchomel
Modified: 2007-10-02 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Suchomel 2007-10-01 20:33:45 UTC
100% reproduceable on Kubuntu (Fiesty), tested on two machines. WTK 2.2 runs fine.
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
   at java.awt.Toolkit.getDefaultToolkit(
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
   at java.awt.Window.<init>(
   at java.awt.Frame.<init>(
   at java.awt.Frame.<init>(
   at javax.swing.SwingUtilities$OwnerFrame.<init>(
   at javax.swing.SwingUtilities.getOwnerFrame(
   at javax.swing.JOptionPane.<clinit>(
   at java.lang.Class.initializeClass(
   at com.sun.kvem.environment.ProfileEnvironment.verifyVMVersion(Unknown Source)
   at com.sun.kvem.environment.ProfileEnvironment.getEmulatorThread(Unknown Source)
   at com.sun.kvem.environment.Runner.start(Unknown Source)
   at com.sun.kvem.environment.ProfileEnvironment.start(Unknown Source)
   at Source)
   at com.sun.kvem.environment.EmulatorWrapper.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: cannot open shared object file: No such file or
   at java.lang.Runtime._load(
   at java.lang.Runtime.loadLibrary(
   at java.lang.System.loadLibrary(
   at java.lang.Class.initializeClass(
   at java.lang.Class.forName(
   at java.awt.Toolkit.getDefaultToolkit(
   ...14 more
Comment 1 Lukas Hasik 2007-10-02 08:24:36 UTC
I'm using Ubuntu7.04 on gnome + jdk 1.5  and it works correctly. Please note that WTK requires jdk >= 1.5 on path of the
system (issue 113492).

Is it Mobility Pack issue or WTK problem?
Comment 2 Petr Suchomel 2007-10-02 09:31:24 UTC
My problem. OpenOffice (?) installs Java 1.4 enviroment for its own purpose, this harms PATH on Kubuntu (at least).
Probably worthy to mention in RN.