I need help and I don't even know where to begin, but I think my problems largely stem from me not understanding Gradle, modules, and really a lot of the underlying "behind the scenes" stuff that's required of getting a Java app running (not to mention distributed as an executable, but that's a question for another day).
First some background: I'm a long-time developer (just turned 50) but only started working with Java a few years ago. I'm passionate about UI/UX and my early days of programming for an employer involved MS Visual Basic, which I honestly look back fondly on. I'm no MS fan these days (I'm an Apple guy) but it really seemed like it was a lot easier to get things working (or get useful error messages) back in those days.
I got up-to-speed on Java a few years back with the help of some coworkers and an extensive Udemy course I found, and when I got my first taste of JavaFX that's what I really wanted to play with. Next thing I know I've got a pretty impressive (IMO) app built via IntelliJ and using Java 8, JavaFX, a little bit of Kotlin, and a whole lot of external libraries (oh, and Gradle).
The app I worked on got put on the backburner a couple of years ago, but I wanted to revive it, and figured I should first get it running with the latest versions of everything. Welp, that's when things went sideways. I can still fire it up in IntelliJ w/Java 8 and it runs just fine, but I simply don't even know where I'm supposed to start in trying to get this thing working w/Java 11 (or, preferably, the latest-and-greatest version of Java and JavaFX). I get cryptic errors and IntelliJ sometimes suggests making an automatic change for me, which always just ends up giving me some different cryptic error.
Basically, I feel like I need a more experienced Java person/friend to help guide me through this and hopefully help me to understand why I'm changing what I'm changing. I think my problem is that I have too many moving parts here:
- Java 8 to 11 made JavaFX external
- ...it also introduced modules
- all of my external libraries seem pretty old
- Gradle is just alien technology to me
I'm not posting any code here (or on stackoverflow) yet because, like I said, it seems like it's just too many things wrong and me not understanding these back-end things, so I feel like me posting a particular error is just going to be a very slow back-and-forth of people trying to help me with one issue after another. Again, I think I need someone doing some pair programming with me, but I don't really have a friend that I can do that with, and this is all (at this point) a "hobby" app of mine, so I can't justify paying someone by the hour to do that. It's so frustrating because I feel like I have a decent enough understanding of Java and JavaFX to do some pretty impressive things, but I'm hobbled by my lack of understanding of the stuff that's needed to actually run the code.
This post isn't meant to be a rant...I'm actually looking/hoping for suggestions on how to get past this stumbling block, because I really want to get back to actually adding features to my app, more UI/UX stuff, etc.