-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Terasology now uses Java 17 #5177
Comments
@soloturn @PurityLake @lokytech5 @jdrueckert @skaldarnar - this might affect you. |
Provided @skaldarnar and I write a milestone summary blogpost again, that's definitely going in there in bold 😅 |
thanks for the heads up @BenjaminAmos ! as i never have a JAVA_HOME set i am wondering why you recommend to do so for terasology? |
I did not intend to recommend it, just to advise that the variable should be changed if it exists. When working with multiple Java versions, setting the |
May I know the actual Java version to set in JAVA_HOME? |
If you have a |
ok noted |
@BenjaminAmos , when exiting the game using "josharias survival" i get the following error:
|
There is likely a component somewhere that contains a I think this might have been related to |
nothing known which is open. |
Documentation Topic
As of #5162 being merged, Terasology now uses Java 17 for compilation. Whilst some documentation has been updated for this, there is likely more still that references Java 11 in places.
After pulling in 3aa68c0, or with a fresh clone, you will need a Java 17 JDK to build and run the game. JDK 17 can be obtained from many sources. I personally find that the Eclipse Termurin (formerly AdoptOpenJDK) distribution tends to work.
If you are seeing errors like the following then you are probably still using JDK 11. You need to update to JDK 17 to fix this (make sure to update the
JAVA_HOME
environment variable as well).You may also see the following warning. We're aware of it and it is unlikely to be resolved soon. The game depends on
SecurityManager
as a part of module sandboxing.Documentation Type
Terasology Knowledge Base
The text was updated successfully, but these errors were encountered: