-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Quark and Linux issues #384
Comments
https://github.com/droidman/Goldleaf you can get it further with my hacks but it's not fully working on Linux yet. You can't select folders to share yet but you can still browse "/" and select individual files. |
It also fails to detect connection when you open quark with java -jar, old exe works just fine |
@aria0012 I’m not sure that’s related to this issue. Make sure to open your own issue for other bugs. This is specifically about JavaFX. |
Solution should be to bundle JavaFX as other similar apps do. |
It is bundled? It does not work as soon as I remove openjfx from my machine. |
0.7.2 crashes even weirder
OpenJRE 12 with OpenJFX |
Same, it was working last time, now I get
with java-1.8.0-openjdk and with java-12-openjdk I get:
If I disable openjfx the core is dumped in both cases. |
For some reason I had disabled a component of openjfx so ignore the logs above, I still think that JafaFX should be bundled as it is harder to get with newer java versions. The jar is working with |
Just to add, @XorTroll the title you've set is slightly misleading. OpenJDK is not linux-specific, this issue occurs on MacOS as well. OpenJDK is a decision some of us make deliberately. "Install Oracle Java" is not an ideal solution, as you can imagine. |
Fails to launch on Ubuntu 18.04 too |
Same issues on windows with OpenJDK 8, 10 and 12 |
Yeah I’m not sure why this is being written off as a Linux issue. People use OpenJDK on every platform, and given this software is open source it shouldn’t rely on Oracles JDK. |
Especially since Oracle JDK 8 sucks to download now. |
My solution was compiling my own Quark.jar from master with openjdk12 and openjfx12. You can download it here for use at your own risk: https://pbb.lc/public/Quark.jar |
Could you provide detailed info on how you did this? |
I just cloned the repo and ran build.sh in Quark/. I did not make any changes to the code. |
Finally found a work around on Ubuntu 18.04 that fixes the same "Error: JavaFX" issue. Ended up manually installing Oracle JRE/JDK 8.0.221 and adding it to the 'update-alternatives' program for quick selection between Java versions. |
To follow along:
Found at: https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8u211-later-5573849.html
I see:
You'll be greeted with something similar to (but easier to read):
For me, I entered [3] to change to "jdk1.8.0_221".
Which now shows:
That works for me. Best of luck!! |
References:
Note:
However, I was not able to install alternative java versions from within [galternatives]. Selection only for me. |
I hope this helps! |
@Wilaemus that is a known workaround. Installing Oracle JDK/JRE is not an acceptable solution, however. |
Can confirm that building Quark from source works. I just needed maven on my path and run the build.sh. |
Tested on Ubuntu 19.10 and Goldleaf 0.7.3 on Nintendo Switch Firmware 6.2.0:
I am using OpenJDK 11 |
It seems that #428 fixed it (the |
I have tested with the following on my system (Archlinux)
only with java-8-jdk I was able to run and properly work on my system |
Oof. I am not able to build latest quark 0.3.0, anyone else with this issue? Specs:
|
Here is the process to install run the latest Quark in Linux (Tested in Fedora using Quark 0.8)
|
Since fedora uses wayland by default you have to run it as |
Is there a reason you cannot run the latest 0.8?
Sent from ProtonMail Mobile
…On Thu, Feb 6, 2020 at 7:50 AM, Maximiliano ***@***.***> wrote:
> Here is the process to install run the latest Quark in Linux (Tested in Fedora using Quark 0.8)
>
> 1. Download Quark
>
> 2. Install the latest openjdk
> `sudo dnf install java-latest-openjdk`
>
> 3. Change your default java runtime
> `sudo alternatives --config java`
>
> 4. Select the latest java by typing the number (Mine was number 2)
>
> 5. Run Quark by opening a terminal in the directory that quark is located
> `java -jar Quark.jar`
Since fedora is uses wayland by default you have to run it as
GDK_BACKEND=x11 java -jar Quark.jar
But for some reason, Quark 0.3 uses all my cpu, to the point where my machine freezes.
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](#384?email_source=notifications&email_token=AL223QKO5L3SQT5RA2DS5QTRBQBP3A5CNFSM4IXVY4O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK7DOAI#issuecomment-582891265), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AL223QJACSUUIRFQGHYOR3TRBQBP3ANCNFSM4IXVY4OQ).
|
The latest is actually 0.3 (which corresponds to goldleaf 0.8). I can run 0.2 just fine. |
I have exactly the same issue with broken GUI window on Manjaro with KDE. Cannot be resized nor maximized. Even after building Quark myself, following instruction from here: @parkerlreed Have you managed to solve it somehow? |
@luk1505 what Quark version are you trying? |
@A6GibKm from newest Goldleaf release 0.8 (30 Dec 2019). Quark version number is not specified there. I also tried Quark from older release 0.7.3, but I'm getting JavaFX errors (mentioned in this thread earlier by other people). |
I had the same issue today, also Manjaro KDE. |
It seems to be an issue with KDE specifically, or maybe Manjaro + KDE. |
Can confirm, it' an issue that only happens in KDE. Needs to be fixed on Quark, not KDE though |
I think this issue should be closed since it already works under KDE. The only thing is to add a udev rule if you don't want to run it as root (this applies to all linux systems) |
Still happening for me with: Any way to get this to work without compiling from source?
|
[Quark] Error: JavaFX runtime components are missing
Bug description
When attempting to run the jar with an OpenJDK version of java or a more recent version of Oracle Java the following error occurs:
Error: JavaFX runtime components are missing, and are required to run this application
JavaFX is no longer bundled with JDK/JRE as of Java 11 and Jars are not intended to be ran alone, instead the convention is to use a launcher.
Your setup
Console firmware: 9.0.0
CFW with version: Atmosphere 0.9.4
Goldleaf version: 0.7.1
Goldtree version: Quark-Release1
Bug reproduction
Quark.jar
Quark.jar
either by double clicking or runningjava -jar Quark.jar
in terminal/cmdError: JavaFX runtime components are missing, and are required to run this application
Additional information
Solution might be to provide a launcher that launches the jar with bundled javafx modules. Java8 is archived on Oracle's website so it's sort of a pain to install, building with a more recent JDK might be preferred.
The text was updated successfully, but these errors were encountered: