Cannot add openJFX to project "too many module declarations found"

I'm trying to get this JavaFX app working but I don't want to make everyone who has to use it download Java 8. I've tried everything I can think of and It just isn't working. I manually added openJFX to my project and it's stopped letting me build. I can't figure out how to get this to just be a dependency and work normally. I need someone to like, hold my hand through this process, everyone talks like this is the easiest thing they've ever done and it's driving me insane that I can't figure it out.
13 Replies
JavaBot
JavaBot10mo ago
This post has been reserved for your question.
Hey @Devin! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Devin
DevinOP10mo ago
This is my most recent attempt, I just coppied the contents of src.zip directly from my openJFX download into my project root
No description
Devin
DevinOP10mo ago
Like, I'm looking around at all these different guides and none of them actually tell me what to do like, do I need to modify arguments in a batch file? where on god's green earth is openJFX actually supposed to live? Is it not fixable with all the module declarations?
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
JavaBot
JavaBot10mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Devin
DevinOP10mo ago
Okay but I already wrote the code and I'm trying to move it foreward Idk how to do that stuff you said because I am stupid
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
JavaBot
JavaBot10mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Devin
DevinOP10mo ago
Okay, I make a project using JDK 21 or whatever is the latest and I copy my code in there, I cannot get it to use openJFX as a dependency. It either doesn't recognize it at all or exports a broken jar when I'm done, I'm not sure if the latest version of openJFX requires my code to be refactored for some reason, but even when everything works great in the IDE the moment I export to a jar I get this:
No description
Devin
DevinOP10mo ago
Sorry, I've been trying to get this sorted out for a very long time and it's pretty frustrating It's tempting to give up but I'd still like to make this work
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Devin
DevinOP10mo ago
okay, I'll take a look
JavaBot
JavaBot10mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server