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

Compatibility issue with Java 9 #3106

Closed
dariost opened this issue Sep 23, 2017 · 4 comments
Closed

Compatibility issue with Java 9 #3106

dariost opened this issue Sep 23, 2017 · 4 comments
Labels
Category: Security Requests, Issues and Changes targeting security Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc.

Comments

@dariost
Copy link

dariost commented Sep 23, 2017

Terasology crashes when trying to create a new game giving this error.
After discussing it with @Cervator on IRC he found out the crash is related to the Java version installed on my pc.

$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181)
OpenJDK 64-Bit Server VM (build 9+181, mixed mode)

Java 9 is now in general availability and has already landed in the Arch Linux repository.

@Cervator Cervator added Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc. Category: Security Requests, Issues and Changes targeting security labels Sep 23, 2017
@dariost
Copy link
Author

dariost commented Sep 23, 2017

I should also add that there's a lot of flickering while Terasology is starting (I did a screen capture, ignore the flickering that happens after 0:12 because that is my iGPU which is not fast enough to record the screen and load the game)

@gianluca-nitti
Copy link
Member

I think I found a (one-line) fix, see #3107 for more information.
If you want to test you should be able to do it with a git clone https://github.com/gianluca-nitti/Terasology && cd Terasology && git checkout java9-fix && ./gradlew game in a temp directory.

@dariost
Copy link
Author

dariost commented Sep 23, 2017

@gianluca-nitti running ./gradlew game gives an error (I added a --info for the log)

@dariost
Copy link
Author

dariost commented Sep 23, 2017

After discussing it with @gianluca-nitti he found out that the problem with gradle was because of the Arch Linux packaging; after having managed to get gradle to build Terasology I confirmed that Gianluca's PR fixes the problem with creating a new game (the graphical flickering and glitches remain)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Security Requests, Issues and Changes targeting security Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc.
Projects
None yet
Development

No branches or pull requests

3 participants