Why is everyone still using Java 8?

Discussion in 'Spigot Discussion' started by Joiubaxas, Feb 17, 2020.

  1. When are people going to switch to newer versions of java? I assume that people use Java 8 since its a long time support version of java, but Java 11 that also has long time support and was released in 2018 only has 7.1% usage in minecraft servers according to bStats and java 8 is used by 91.3% of servers. Are developers stuck on supporting Java 8 as we are stuck on supporting minecraft 1.8?
  2. I use it purely due to that some downloaded plugins don't support something above it, but when I find time I plan to edit their code to support newer Java and update my servers.
    • Agree Agree x 1
  3. SteelPhoenix


    The problem is not the developers, but most server providers not updating.
    • Agree Agree x 4
  4. [​IMG]

    Honestly, moving from Java 8 to at least Java 9 is so much better performance, at least what I noticed with my setup. Would it solve some issues people have with the latest MC versions? Unsure. I prefer to use OpenJDK 11 with OpenJS9 as this appears to work the best, have not tested JDK 13 yet, and kind of stopped following the new updates recently so perhaps even that is better.

    Also, FUN FACT:
    Minecraft client installs its own java version, Java 8 V51, which is not all that amazing. I'd recommend changing the arguments to support Java 9 or higher. I noticed the launcher takes a bit longer to load, but I've noticed less stutters in singleplayer and less memory usage overall. I've done this for my computer, laptop, and a school gaming computer and I've noticed nothing bad that happens with it.

    • Like Like x 2
  5. Though do note that Forge mods don't always support versions above 8 and that versions older than 1.12.2 do not support Java 8 and above. Also, update to JDK 13 if you're going to use something above 11 anyways.
    • Like Like x 1
  6. does kotlin not support java 9+?
  7. Yes. Running stuff with 11.
  8. The Minecraft community just seems to really like the number 8 and doesn't like letting go of it no matter what.
    • Winner Winner x 2
    • Agree Agree x 1
    • Funny Funny x 1
  9. If it ain't broke, don't fix it.
  10. Except for when it is broke. Then just keep using it without fixing it.
    • Funny Funny x 1
  11. Thing is people are updating their java version, so developers are kinda forced to make their plugins on java 8. Also, many minecraft hosting companies only have Java 8 and server owners arent able to install java 9.
  12. md_5

    Administrator Developer

    Disagree, I'd advocate for 8 or 11 only which are the two LTS versions
    • Agree Agree x 3
  13. so being inspired by this thread, today while switching to new host I tried to update my java from 8 to 11, at first I ran into problems of a few plugins like BuyCraftX not working, but I fixed it after googling, I needed to change some stuff in Java 11 folder. at the end there were only 1 plugin not working out of my 120 plugins: VoxelSniper
    and I have an idea how I can get it to work.

    so I'd say it's pretty safe to update now.

    my server is on 1.12.2 btw (I heard server owners saying that they use 1.12.2 as an excuse to not updating java to 11)

    EDIT: I have fixed VoxelSniper not working on Java 11, all I had to do is download javax.xml.* library and put it inside VoxelSniper jar. no decompilation or compilation, smooth.
    #14 Govindas, Feb 18, 2020
    Last edited: Feb 19, 2020