I downloaded JabRef version 4.0.0-beta (latest Github release: JabRef-4.0.0-beta.jar). This JabRef version just denies to start with a message in the terminal saying: Error: Could not find or load main class org.jabref.JabRefMain.
My system:
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
$ uname -a
Linux NATUR-BFE-00155 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Linux Mint 18 Sarah \n \l
Steps to reproduce:
java -jar JabRef-4.0.0-beta.jarAs far as I can see, no log file was created.
You need to install javafx as outlined in the help: http://help.jabref.org/en/Installation#installation-commands
Please look at the installation instructions in the help section. You need
to install the additional package openfx for the javafx support.
Am 25.05.2017 12:32 nachm. schrieb "Mathias Bockwoldt" <
[email protected]>:
I downloaded JabRef version 4.0.0-beta (latest Github release:
JabRef-4.0.0-beta.jar). This JabRef version just denies to start with a
message in the terminal saying: Error: Could not find or load main class
org.jabref.JabRefMain.
My system:
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
$ uname -a
Linux NATUR-BFE-00155 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27
15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Linux Mint 18 Sarah \n \l
Steps to reproduce:
As far as I can see, no log file was created.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JabRef/jabref/issues/2867, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATi5GtnKs_tK3TpQqb_blvBf0kXHA_Tks5r9VivgaJpZM4NmOT_
.
Wow, that were two fast answers! Installing javafx solved the issue. Thank you very much!
I still have the same issue
java -jar JabRef-4.3.1.jar
Error: Could not find or load main class org.jabref.JabRefMain
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
Installing javafx did not solve the problem
Can we re-open this?
java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-2ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-2ubuntu1, mixed mode, sharing)
uname -a
Linux raffa-kubuntu 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
JabRef explicit requires JDK8 and openjfx8!
I have the following version of Java installed on my Ubuntu 18.04 bionic.
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
While trying to run JabRef using
java -jar JabRef-4.3.1.jar
The following error message appeared
Error: Could not find or load main class org.jabref.JabRefMain
After reading this post, I installed openjfx using
sudo apt-get install openjfx
still facing the same problem.
See https://github.com/JabRef/help.jabref.org/issues/204 your ubuntu probably installed the openjfx11 version!
Most helpful comment
You need to install javafx as outlined in the help: http://help.jabref.org/en/Installation#installation-commands