-
Notifications
You must be signed in to change notification settings - Fork 399
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
com.apple.eawt not working for Java 9+ #3297
Comments
Just to be sure: Does this error happen using java 8 as well? |
@RoiEXLab Guessing its the same problem reported here: kaikramer/keystore-explorer#102 |
Release 9824 |
Found the reason: http://openjdk.java.net/jeps/272 |
As a side note: The official release date of java 10 is tomorrow. |
Assigning you all @DanVanAtta @ron-murhammer @ssoloff to get your opinion on how to handle this issue. We basically have 3 options:
|
Just my 2¢ as a developer—the reflection hack used in keystore-explorer doesn't seem completely horrible, bearing in mind there's likely to be a transition period when you need to support <= 1.8 as well as 9+, even after Oracle drops support for Java 8 next year. |
@chronodm Agreed, however we currently require users to use java 8 or higher, so incrementing the version required might not be a huge deal at all. |
@RoiEXLab I'd probably prefer to be able to support Java 8 and 9 for a while. And wait to force users to upgrade to Java 9 after a good portion have already done so through Oracle updates/etc. Otherwise we are either going to keep getting bug reports like this or we need to force Java 9 very soon which is a bit early IMO. |
Java 9 isn’t considered a long-term support release, I don’t think, so it might be a bit harsh to force casual users to upgrade to it now. |
We currently bundle a JDK8 for Mac+Windows with the installer. @chronodm was this reproduced by running the game after installing with the mac installer, or launching from a jar file or source? If from an installed TripleA, it would mean our bundled JDK is not being used. |
Interesting. That was running the game after installing with the Mac installer. I'm away from that machine at the moment but when I get back to it I'll see if I can find any other configuration information that might help. |
Technically we don't bundle a JRE. |
@RoiEXLab Should we temporarily revert the portion of 8913692 that removed Java 8 as the max version supported by the installer? We have several issues at the moment that prevent the application from running correctly on Java 9+ (most notably JDK-8199664). We can always direct users to the portable install for Java 9+ testing. |
@ssoloff probably the best option for now. |
@ssoloff We should probably also consider changing the second travis build to java 10 to ensure the code still compiles. |
Sorry, don't have access to a Mac, so I don't know if this is still an issue. Regardless, labeling as a Java 9+ blocker. |
I'm pretty sure this is still an issue, simply because in java 9+ there's an official API for this and the inofficial one we use via a hack was removed. |
Engine version
1.9.0.0.9687
My Operating System
macOS 10.13.3 (High Sierra)
Map name
WW2 classic 3E
Can you describe how to trigger the error? (eg: what sequence of actions will recreate it?)
Start a local game, configure AI players, click "Play"
Do you have the exact error text? Please copy/paste if so
Instead of this error, what should have happened?
Game should start
Any additional information that may help
The text was updated successfully, but these errors were encountered: