# Version 4.0 Java version fails to start

**URL:** <https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851>\
**Category:** Help\
**Created:** [October 18, 2017, 9:18pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851 "2017-10-18T21:18:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreWaehlisch](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/andrewaehlisch/32/270_2.png) [@AndreWaehlisch](https://discourse.jabref.org/u/AndreWaehlisch)\
**Post date:** [October 18, 2017, 9:18pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/1 "2017-10-18T21:18:46Z")

</div>

I am trying to start the Java version 4.0 of Jabref, but this fails:

```
> java -jar ~/Downloads/JabRef-4.0.jar
Error: Could not find or load main class org.jabref.JabRefMain
> java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (IcedTea 3.3.0) (suse-6.4-x86_64)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) 

```

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![tobiasdiez](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/tobiasdiez/32/340_2.png) [@tobiasdiez](https://discourse.jabref.org/u/tobiasdiez)\
**Post date:** [October 19, 2017, 2:04am UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/2 "2017-10-19T02:04:33Z")

</div>

You probably need to install the `openjfx` package, see the help on how to do this.

---

<div class="post-metadata">

**Author:** ![AndreWaehlisch](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/andrewaehlisch/32/270_2.png) [@AndreWaehlisch](https://discourse.jabref.org/u/AndreWaehlisch)\
**Post date:** [October 19, 2017, 2:28pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/3 "2017-10-19T14:28:34Z")

</div>

Is this new to v4? Version 3.8.2 of Jabref is working fine.  
Apparently there is no precompiled openjfx package for my distro (opensuse), so it seems I am stuck with the old Jabref.

---

<div class="post-metadata">

**Author:** ![mlep](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/mlep/32/387_2.png) [@mlep](https://discourse.jabref.org/u/mlep)\
**Post date:** [October 19, 2017, 2:50pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/4 "2017-10-19T14:50:48Z")

</div>

Even if there is no pre-compiled openjfx package for openSUSE, you may not be stuck to JabRef 3.8.2. See [https://forums.opensuse.org/showthread.php/517440-JavaFX-OpenJFX-installation](https://forums.opensuse.org/showthread.php/517440-JavaFX-OpenJFX-installation)

---

<div class="post-metadata">

**Author:** ![adessec](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/adessec/32/272_2.png) [@adessec](https://discourse.jabref.org/u/adessec)\
**Post date:** [October 20, 2017, 2:19pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/5 "2017-10-20T14:19:24Z")

</div>

There are several precompiled openjfx packages indeed. See [https://software.opensuse.org/package/java-openjfx?search\_term=openjfx](https://software.opensuse.org/package/java-openjfx?search_term=openjfx) .

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [October 21, 2017, 2:37pm UTC](https://discourse.jabref.org/t/version-4-0-java-version-fails-to-start/851/6 "2017-10-21T14:37:37Z")

</div>

At least openjfx version must be greater han 8u60

@adessec Thanks for the links!

Would you mind adding a section to the FAQ regarding OpenSuse?  
[http://help.jabref.org/en/FAQlinux](http://help.jabref.org/en/FAQlinux)

Thanks in advance!
