JabRef / JabRef-Browser-Extension

Browser extension for JabRef to allow importing of new items directly from the browser.
https://www.jabref.org/
GNU Affero General Public License v3.0
83 stars 22 forks source link

Problem connecting Browser to App in Linux: Unrecognized option: --importBibtex #606

Open Shahin-rmz opened 4 months ago

Shahin-rmz commented 4 months ago

Hello, I am new to the research field and a bit seasoned in Linux and open source world. Recently I saw a tool called research rabbit, which help us organize our articles. The Opensource alternative to that is JabRef which makes life much easier and it is also open source. Thanks for developing this piece of nice and useful tool.


It is not possible to connect Jab ref Chrome extension (Brave browser) to the JabRef App (which has been installed via .deb package). Could you please tell me how can I trouble shoot the problem an d solve this? Here is the error...

b'Unrecognized option: --importBibtex\nError: Could not create the Java Virtual Machine.\nError: A fatal exception has occurred. Program will exit.\n'

image

LyzardKing commented 4 months ago

Hi @Shahin-rmz

What version of jabref are you running? Does JabRef itself work normally?

Shahin-rmz commented 4 months ago
JabRef 5.12--2023-12-24--4233bad
Linux 6.5.0-21-generic amd64 
Java 21.0.1 
JavaFX 21.0.1+6

Yes, Jabref app works normal.

tobiasdiez commented 4 months ago

Could you please post the log located in home/.mozilla/native-messaging-hosts/jabref_browser_extension.log, and also please try to run jabref --importBibtex "@article{}" and see if that works.