Support Java 9/10
LadyCailinBot opened this issue ยท 9 comments
WORLDEDIT-3658 - Reported by xazzazum
WorldEdit only supports Java 8, Java 8 is 4 years old now and support for higher version should be added
Comment by me4502
What do you mean by 'Only supports Java 8'? WorldEdit itself shouldn't be preventing newer versions.
Comment by https___launchpad.net__agentme49
When WorldEdit starts up in Java 10, it outputs this message:
[02:23:33 INFO]: [WorldEdit] Enabling WorldEdit v6.1.8-SNAPSHOT;cd4729f
[02:23:33 INFO]: [WorldEdit] Default configuration file written: config.yml
[02:23:33 INFO]: WEPIF: Updated config file
[02:23:33 INFO]: WEPIF: Using the Bukkit Permissions API.
[02:23:33 INFO]: [WorldEdit] Using com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_12_R2 as the Bukkit adapter
[02:23:33 WARN]: [WorldEdit] WorldEdit has detected you are using Java 7 (based on detected version 10.0.1).
[02:23:33 WARN]: [WorldEdit] WorldEdit will stop supporting Java less than version 8 in the future, due to Java 7 being EOL since April 2015. Please update your server to Java 8.
I assume it's checking the current Java version (10.0.1) and seeing that the first character (1) is less than 8.
Comment by https___launchpad.net__agentme49
Oh thanks!
I've been using 6.1.7.3 which https://dev.bukkit.org/projects/worldedit and http://www.enginehub.org/worldedit -> Latest release for Bukkit both show as the latest/recommended version. Is there any plan to cut a new versioned release, or should I start picking up the experimental builds? I've been bit often by experimental builds elsewhere before so it's never my default choice.
Comment by PseudoKnight
WE development builds are pretty stable. They're not technically "experimental". Those are on different branches.
But if you're going to use an in-development version of Java, not sure why you wouldn't use an in-development version of WorldEdit. ;)
Comment by xazzazum
@PseudoKnight Java 10 is already out of development and in production
Comment by PseudoKnight
Java 8 is "Recommended Version" and the only version available on Java.com. There's some similarities there to a dev.bukkit.org release. Also only around 0.5% of servers use Java 10, as well as numerous plugins that have had to update to support Java 9 and 10.