Source bz2 available at: https://sourceforge.net/project/shownotes.php?release_id=257899 JabRef 1.5 uses two external jars, looks-1.2.2.jar (JGoodies Looks) and antlr.jar (Antlr parser generator v. 2.7.4). Both jars are provided with the source package, under "lib/". Since Antlr has its own ebuild, this jar can be removed from the source package, and set as a compile time + runtime dependency (must be in classpath at runtime). The Ant build file tries to add these two jars to the compile classpath. The "unjarlib" target unpacks the jars to the build directory. I can't find JGoodies Looks in Portage, but if it is in there somewhere, of course the same can be done there.
The source package to use is titled Jabref-1.5.tar.bz2. Please DO NOT use the file titled JabRef-1.5.tar.bz2 (with capital R) - it is defect, and was replaced with the new one in the download section as soon as the problem was discovered.
Bumped.
I get this error when trying to run jabref: Exception in thread "main" java.lang.NoClassDefFoundError: com/jgoodies/plaf/windows/ExtWindowsLookAndFeel I think it has something to do with the external jars needed.
I made the JabRef release (not the Gentoo ebuild), and I found the same problem as Antoine Marmignon saw. I'm sorry, I didn't explain well enough. The problem is fixed by making sure the targets "compile unjarlib jars" are run in this order. "unjarlib" unpacks the class that the exception reports missing, and many others, into the build directory. "jars" creates the jar with those classes included. Sorry about this mess.... hopefully you'll be able to fix it now - otherwise tell me; I can provide a package that builds properly using the default ant target.
Hi! I experienced the same as antoine marmignon (comment #3). So I downloaded the jar file directly from sourceforge and replaced the /usr/share/jabref/lib/jabref.jar Now everything runs fine.
I followed instructions in comment #5 from Michael Panhorst and it got mine running as well. Thanks
Thanks for all your help guys. The problem is resolved in portage.