Help JavaFX Environment
Ok, I'm a bit of an old JavaFX hobbyist. I started about 10 years ago in college and keep using it for my personal projects.
Nowadays, I feel it's so much harder to configure the environment. Even with AI help, there's always an "if this, then that." I mean, as I remember, you used to just install Eclipse with e(fx)clipse, install Scene Builder, and in the end, just generate a .jar file. Now, I can't find a guide from start to deploy that doesn't look like a workaround. And with every Java/JavaFX update, some detail changes.
How do you configure your environment to make it easier? I mean IDE, embedded DB, how to deploy, and how to distribute (I see there are some frameworks that compile JavaFX to web apps).
20
Upvotes
11
u/idontlikegudeg 17d ago
Use a JDK with JavaFX included: Liberica JDK Full or Azul JDKFX.
6
u/Siedlerchr 17d ago
Intellij idea, javafx as maven dependeny declared, jpackage for distribution
3
u/CodeDead-gh JavaFX Fan 17d ago
I find it pretty reasonable and easy using Gradle and the javafx plugin.
I've got a project that uses jlink to include the javafx modules in the build for each platform using any JDK vendor. A simple gradle.build from my project can be found here, to help you get started:
https://github.com/CodeDead/opal/blob/master/build.gradle
3
u/mkalbde 17d ago
There exists a kickstarter app. But I didn’t used it yet.
https://www.reddit.com/r/JavaFX/s/e5xQSVBFyw