Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application doesn't run. #3

Open
GhostieSpook opened this issue Jan 9, 2020 · 9 comments
Open

Application doesn't run. #3

GhostieSpook opened this issue Jan 9, 2020 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@GhostieSpook
Copy link

I double-click to start the .jar file and it gives me a pop-up saying that it could not start.

@SirSkaro
Copy link
Owner

Can you post a screen shot of the pop up?

@GhostieSpook
Copy link
Author

Screen Shot 2020-01-11 at 1 09 29 AM
Here you go.

@GhostieSpook
Copy link
Author

Im not sure where I would find the console, but i'll check around and see if that helps.

@SirSkaro
Copy link
Owner

SirSkaro commented Jan 11, 2020

Looks like a possible issue with your environment, but I couldn't say without seeing what the console says. To execute the jar via command line, use java -jar queue-bot-1.0.4.jar (and be sure your working directory is the same as the location of the jar).

@GhostieSpook
Copy link
Author

Screen Shot 2020-01-11 at 12 30 45 PM

@SirSkaro
Copy link
Owner

Did you download the jar from MediaFire or build it yourself?
And what version of Java are you using? java -version

@GhostieSpook
Copy link
Author

From MediaFire
And my Java version is 12.0.2

@SirSkaro
Copy link
Owner

Alright, I found the problem. Java FX is no longer packaged with the Java runtime (as of JDK 11). That's unfortunate...

Without making any changes, you could try to install Java 8, 9, or 10, as Java FX is packaged in those runtimes (I recommend Java 8). If you're feeling experimental, you could try to install openjfx and run the jar with
java --module-path /usr/share/openjfx/lib --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -jar jarFile.jar

Otherwise, the project will need to be updated to support JDK 11+, which I can't guarantee I'll get around to any time soon. But if anyone wants to contribute to this they are more than welcome. Thank you for reporting!

@SirSkaro SirSkaro added enhancement New feature or request help wanted Extra attention is needed labels Jan 11, 2020
@GhostieSpook
Copy link
Author

Alright! Thank you so much for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants