superzanti / ServerSync

Sync files between client and server for Minecraft Forge
GNU General Public License v3.0
155 stars 25 forks source link

What java version does serversync use? #285

Closed Serial-Comma closed 2 years ago

Serial-Comma commented 2 years ago

Serversync Version:

4.2.0

Minecraft Version:

1.16.5

Issue:

My friend on macOS is unable to launch serversync by double clicking.

He has [Temurin 16](https://adoptium.net/releases.html) installed but double clicking it yields nothing. He used serversync-4.2.0.jar white it was in his .minecraft folder. Troubleshooting says nothing because macOS can't use jarFix. How do I solve this? Thank you

rheimus commented 2 years ago

It should work on anything down to 8 ish area, they probably don't have a java distribution that includes JavaFX.

I have not got particularly far with packaging JavaFX into the app.

Experimental stuff can be found here: https://github.com/rheimus/ServerSync/releases but it is a vastly different beast that I am probably not going to support in the future.

Serial-Comma commented 2 years ago

Any way I can get serversync to work on macOS then?

rheimus commented 2 years ago

serversync -o at the moment does not use any GUI, so it would not need JavaFX. https://github.com/superzanti/ServerSync/wiki/Command-line-arguments

Alternatively the person in question could install a java distribution that already includes FX with it, I am probably going to bin FX in favor of going back to swing but that will take quite some time.

Serial-Comma commented 2 years ago

I see. Not too familiar with Java, what does 'using a distribution with FX' mean?

rheimus commented 2 years ago

https://www.azul.com/downloads/?os=macos&package=jre-fx#download-openjdk

Zulu for an example has distribution options that include JavaFX.

Serial-Comma commented 2 years ago

Understood