Open vico93 opened 3 years ago
Most likely related to this: https://askubuntu.com/a/1138493
So... do i need to install java fx? i searched in AdoptOpenJDK folder to see if there is anything related to JavaFX and cant find anything related
I'm having the same issue with OpenJDK on Arch Linux. It would seem JavaFX is a requirement, though I think it would be best if it was packaged together with the .jar, as I cannot expect that every client player will have or know how to install JavaFX.
For now the solution I found was running the client in headless mode with the --silent
flag. @vico93
Yeah, the easiest solution is running with the silent flag. I'm trying to compile with intellij's JavaFX packaging but I'm having trouble understanding what's going on, since I haven't touched java in a while. I'll post back here if I make any progress.
JavaFX is indeed a requirement at the moment (for GUI).
I'll look into adding it to the package though presumably this will skyrocket the jar size.
Also this may be of interest to the OP https://adoptopenjdk.net/faq.html?variant=openjdk8&jvmVariant=hotspot#openjfxfaq
Also this may be of interest to the OP https://adoptopenjdk.net/faq.html?variant=openjdk8&jvmVariant=hotspot#openjfxfaq
Yeah, sad OpenJDK had this decision. It's partially comprehensive from their standpoint, but i'm not going to install the crap Oracle JDK here. Will run the client in headless mode and wait for the alternative jar with bundled JavaFX (for me particulary the size increase isn't a hurdle).
Should i leave the issue open?
Yeah I'll use this one as the task to investigate FX packaging, I had a brief look and it seems like I may end up having to bundle the entire JVM as well 🤔
If i had time and knowledge i would try to help making a native app for (at least) Windows. I have distant knowledge of Delphi/Lazarus but not enough to implement the concept of ServerSync using it.
Would probably be better off just making an electron app if you were going down the rewrite path.
Serversync Version: serversync-4.0.0.jar
Minecraft Version: 1.12.2 (Forge 14.23.5.2855)
Issue:
I just downloaded
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
from AdoptOpenJDK and i tried to launch ServerSync using that version.Launching the server-side mode works, but when i try to launch the client i get this error:
Using java -jar serversync-4.0.0.jar
The ServerSyncClient.exe does nothing when double-clicked (checked for SmartScreen and such, nothing blocking the executable).
Launching the client usingt the stock Java8 shipped with Mojang's official launcher works, but depending of the button i click on the interface (or if i try to sync often) leads to this:
Warning which appears when running serversync with Mojang's internal JRE
Trying to launch the jar using Java 11 doesnt work.
What i'm doing wrong this time?