Java version and plugins

A new update is now available, introducing fishing, climbing gear, clothes and more!
Latest hotfix: 0.8.5.3 (2025-05-09)
  • Hi red51 ,


    I've finally replaced my 10-year-old workstation šŸ˜„ and I'm in the process of setting up my development environment again.


    I've installed the latest version of NetBeans along with JDK 1.8, as it's my understanding that Rising World plugins should still be compiled against Java 1.8 for compatibility.


    While rebuilding my plugin projects, I encountered compile errors due to some parts of my previous codebase using Java 9+ features — for example:


    Java
    private Set<String> allowedItems = Set.of("this", "that");


    As Set.of() isn’t available in Java 1.8, I'm now going through and replacing those usages with Java 8-compatible alternatives.


    Just to confirm: is Java 1.8 still the target version for plugin compatibility with the game? And, if so, would you recommend removing any and all Java 9+ features from plugin code for futureproofing?


    Many thanks as always!

  • Hey yahwho , actually I wouldn't recommend to compile plugins against Java 1.8 (unless you want to write plugins for the old Java version specifically, which only supports Java 8) ;) The new version currently uses JDK 20, so it's recommendable to compile plugins against JDK 20 as well (and of course you can also use all language features which are available in Java 20).

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!