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

JavaFX Application Thread exception on startup #39

Closed
tgrk opened this issue Sep 15, 2015 · 2 comments
Closed

JavaFX Application Thread exception on startup #39

tgrk opened this issue Sep 15, 2015 · 2 comments

Comments

@tgrk
Copy link

tgrk commented Sep 15, 2015

I was not able to start application using java -jar erlyberly-0-6-6-runnable.jar command.

Full startup output:

http://pastebin.com/S0dqddNg

Java version

4 Downloads $ java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Ubuntu version

5 Downloads $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty
@andytill
Copy link
Owner

It turns out that you 1.8.0_05 is not enough, Stage#setAlwaysOnTop was added in 8u20, you will need to install the latest JDK. Thanks for all the information, it made the problem a lot easier to diagnose.

The doc for the method are here:

https://docs.oracle.com/javase/8/javafx/api/javafx/stage/Stage.html#setAlwaysOnTop-boolean-

@andytill
Copy link
Owner

andytill commented Oct 8, 2015

Fixed the required java version in the README.

@andytill andytill closed this as completed Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants