(Chat) Ping!

(Chat) Ping!

337k Downloads

Java 8 dependency

planetguy32 opened this issue ยท 5 comments

commented

In Config's static constructor, there's a reference to String.join(CharStream, CharStream), which is only introduced in Java 8.

commented

Are you sure it isn't introduced until then? Gradle should have yelled at me about that, like it did when I used a switch statement on a String.

commented

A friend sent this log to me. Oracle says the relevant method is new in Java 1.8.

commented

Oh, huh. I'll see if I can change the dependency listing on CurseForge. I'm not going to change anything in the code; you should just have your friend install Java 8 because it should work on their computer, and more and more mods are going to be having it as a hard dependency.

In March of 2015, over 60% of Minecraft users were using Java8, and this number has only gone up since then.

If you disagree with my decision to not change any code to allow for Java 7 users, please let me know your opinions as I'd love to hear them.

commented

I don't have a problem with requiring Java 8, but if you do I'd appreciate it if the bytecode had its minimum Java version set accordingly - then it'll fail with a slightly less opaque UnsupportedClassVersionError. My friend probably should be using Java 8 anyway.

commented

Alright. I'll update the gradle and release a new version hard depping J8 soon.