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

Request: Rebuild to work with updated java versions #390

Open
thegreatersea opened this issue Aug 21, 2017 · 1 comment
Open

Request: Rebuild to work with updated java versions #390

thegreatersea opened this issue Aug 21, 2017 · 1 comment

Comments

@thegreatersea
Copy link

Although I managed to build a jar application of this repository with help from a friend, it came with the warning that it would only work with Java 1.8.0_05, which is massively out of date, and that installing that Java version would break at least a few things that use newer Java versions. Is there any way to update this project to use the latest version of Java?

@VladFurman
Copy link

I'm poking at this; there's multiple issues standing in the way. See https://github.com/VladFurman/anathema_legacy/tree/test for progress as of now. For anyone who might help, or follow my trail:

  • Anathema depends on javafx, which is not always included in all distributions of java. This isn't something you can change in the project itself, but rather what java you use.

  • At some point (around JDK 8.5-something) com.sun.javafx.Utils was moved to com.sun.javafx.utils.Utils. This breaks controlsFX - see Platform_FX/build.gradle and specifically
    compile 'org.controlsfx:controlsfx:8.40.18'. So to update Java, you'd need to update controlsFx, but...

  • controlsFx deprecated the 'Dialog' Class. There's about 6 or so files using it, so they all have to be refactored.

  • And this is only what I've found so far.

I've put about 7 hours into this so far; I'm not confident my findings are correct. If anyone has suggestions, corrections, advice, please add them.

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