can't use freemind

Bug #98805 reported by daggerlin
10
Affects Status Importance Assigned to Milestone
gcj-4.1 (Ubuntu)
Invalid
Undecided
Matthias Klose

Bug Description

Binary package hint: gij-4.1

I download and install freemind (deb version - freemind_0.8.0-1_all.deb) from
http://sourceforge.net/project/showfiles.php?group_id=7118&package_id=161831&release_id=355162

I can't start freemind.
The console message as follow.

freemind
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 javax.swing.JFrame.<init>(libgcj.so.70)
   at freemind.main.FreeMind.<init>(FreeMind.java:107)
   at freemind.main.FreeMind.main(FreeMind.java:647)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: 無法開啟å
±ç”¨ç›®çš„檔: 沒有此一檔案或目錄
   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)
   ...6 more

and the java version is:
~$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5)

ProblemType: Bug
Architecture: i386
Date: Fri Mar 30 07:46:11 2007
DistroRelease: Ubuntu 7.04
Uname: Linux daggerlin-desktop 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux

Revision history for this message
Matthias Klose (doko) wrote :

is libgcj7-awt installed? if not, please install it.

Changed in gcj-4.1:
status: Unconfirmed → Needs Info
Revision history for this message
daggerlin (daggerlin) wrote :

Thanks.
It work.

Could java-6-sun be the default java?
Or, could there a graph user interface to change default java?

Thanks.

Revision history for this message
Matthias Klose (doko) wrote :

> Thanks.
> It work.

ok, closing.

> Could java-6-sun be the default java?

no, it's non-free.

> Or, could there a graph user interface to change default java?

currently not planned (there is the command line utility update-java-alternatives).

Changed in gcj-4.1:
assignee: nobody → doko
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.