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
Status: RESOLVED INVALID
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
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:


Attachments

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: gnu.java.awt.peer.gtk.GtkToolkit
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.70)
   at java.awt.Window.<init>(libgcj.so.70)
   at java.awt.Frame.<init>(libgcj.so.70)
   at java.awt.Frame.<init>(libgcj.so.70)
   at javax.swing.SwingUtilities$OwnerFrame.<init>(libgcj.so.70)
   at javax.swing.SwingUtilities.getOwnerFrame(libgcj.so.70)
   at javax.swing.JOptionPane.<clinit>(libgcj.so.70)
   at java.lang.Class.initializeClass(libgcj.so.70)
   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 com.sun.kvem.environment.EmulatorWrapper.run(Unknown Source)
   at com.sun.kvem.environment.EmulatorWrapper.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or
directory
   at java.lang.Runtime._load(libgcj.so.70)
   at java.lang.Runtime.loadLibrary(libgcj.so.70)
   at java.lang.System.loadLibrary(libgcj.so.70)
   at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70)
   at java.lang.Class.initializeClass(libgcj.so.70)
   at java.lang.Class.forName(libgcj.so.70)
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
   ...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.