-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show proper information message when OpenJFX is not installed #2642
Comments
Seems like you could simply check for a ClassNotFoundException: |
We definitly need to fix this. If I just double click the Jar nothing happens and I don't even see an error message. |
I will try around with it. Maybe we can show a simple Swing Message/Alert when the class is not found. |
I searched a bit further and there is no real solution to this. |
Ok, if it is not possible then it is not possible... |
I also encounter this on Fedora 25 (the beta version 4.0 stops with "Error: Could not find or load main class org.jabref.JabRefMain"). If I interpret the issue correctly, OpenJFX will not be installable easily soon on Fedora - and building it seems tricky (I did not yet succeed) |
You should then install the oracle jdk/jre, here seems to be an guide: |
Can you check if
http://help.jabref.org/en/Installation#fedora-23-and-oracle-java does
provide enough support?
Am 27.04.2017 16:39 schrieb "ilippert" <[email protected]>:
… I also encounter this on Fedora 25 (the beta version 4.0 stops with
"Error: Could not find or load main class org.jabref.JabRefMain"). If I
interpret the issue correctly, OpenJFX will not be installable easily
soon on Fedora <https://bugzilla.redhat.com/show_bug.cgi?id=1145303> -
and building it <https://github.com/gferon/openjfx-fedora> seems tricky
(I did not yet succeed)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2642 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABTafvgC6PS1v93s5SCxO4sOx_nUt7Mpks5r0KiSgaJpZM4Mbwwq>
.
|
I recently had the same problem on Fedora 25. I had to install the Oracle Java JRE and configure the alternatives to set the Oracle version the default. |
Thanks @Siedlerchr @ambro2 @koppor. @Siedlerchr's link sufficed to get it work. Cheers |
As reported in #1711 (comment) without the OpenJFX packages on linux a cryptic message "Error: Could not find or load main class org.jabref.JabRefMain" is displayed.
It would be nice if instead a proper error message referring to
apt-get install openjfx
is shown. Not sure if this exception is "catchable". Or maybe we should indeed create a installer for linux that also installs openjfx in the process. Alternatively, we could create a self-contained application that also includes a private JRE, gradle plugin.The text was updated successfully, but these errors were encountered: