Package: jabref Version: 2.1-1 Hello, I have at least two forms of "java" installed, both exclusively through the official debian package management system (apt in this case). One java installation is some subset of "gij", the other is the non-free "sun-java5-jre" which is pulled in as a dependency of "jabref". Typing "jabref" at the shell prompt results in: _____________________ $ 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(Unknown Source) 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>(Unknown Source) at net.sf.jabref.imports.OpenDatabaseAction.<init>(Unknown Source) at net.sf.jabref.JabRefFrame.<init>(Unknown Source) at net.sf.jabref.JabRef.openWindow(Unknown Source) at net.sf.jabref.JabRef.<init>(Unknown Source) at net.sf.jabref.JabRef.main(Unknown Source) _______________________
This is probably because the default java is that supplied with gij: _______________________ $ java --version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20060715 (prerelease) (Debian 4.1.1-9) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _______________________ A successful start of JabRef can be achieved by fully specifying the path to the "sun-java5-jre" supplied java. _______________________ $ /usr/lib/jvm/java-1.5.0-sun/bin/java -jar /usr/share/java/jabref.jar _______________________ This line could be substituted in to the /usr/bin/jabref shell script to fix this bug. On the other hand, I don't know if this is not a full fix: E.g. If there are java environmental variables which should be set as well in order to fully "switch" java versions from gij to sun when running JabRef. Thanks for your work! C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]