On Thu, 10 Aug 2006 19:33:46 +0100, martin f krafft wrote:

Thanks for your bugreport!

> lapse:~/phd> jabref                                                      
> #[353]
> Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: 
> gnu.java.awt.peer.gtk.GtkToolkit

Looks like you don't use Sun Java (cf. /usr/share/doc/jabref/README.Debian).

> This is with gij-4.1. 

Ok ;-)

> Installing libgcj7-awt fixes the problem.

It doesn't for me. After installing libgcj7-awt (and
update-alternatives --config java) I get:

$ jabref
Importing in unknown format: 
Error opening file ''
createDefaultRoot not implemented
fireChangedUpdate not implemented
Exception in thread "main" java.lang.NullPointerException
   at net.sf.jabref.MnemonicAwareAction.putValue(MnemonicAwareAction.java:53)
   at javax.swing.AbstractAction.<init>(libgcj.so.7)
   at javax.swing.AbstractAction.<init>(libgcj.so.7)
   at javax.swing.AbstractAction.<init>(libgcj.so.7)
   at net.sf.jabref.MnemonicAwareAction.<init>(MnemonicAwareAction.java:48)
   at 
net.sf.jabref.imports.OpenDatabaseAction.<init>(OpenDatabaseAction.java:19)
   at net.sf.jabref.JabRefFrame.<init>(JabRefFrame.java:137)
   at net.sf.jabref.JabRef.openWindow(JabRef.java:635)
   at net.sf.jabref.JabRef.<init>(JabRef.java:128)
   at net.sf.jabref.JabRef.main(JabRef.java:69)

In my experience jabref only builds and runs with Sun Java - hence
the current dependencies and the hint in README.Debian.

As I cannot reproduce your solution, I won't implement it at the
moment. But I'm always open to new suggestions.


Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Rolling Stones

Attachment: signature.asc
Description: Digital signature

Reply via email to