jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Should compile with Java17 but used Java8

Open wifi-left opened this issue 2 years ago • 2 comments

Please provide:

  • Link to build log from https://jitpack.io https://jitpack.io/com/github/CaffeineMC/sodium-fabric/mc1.19-0.4.2/build.log
  • What error are you seeing? You are using an outdated version of Java (8). Java 17 or higher is required. Thank you!

wifi-left avatar Jul 30 '22 04:07 wifi-left

@wifi-left I had the same problem. The JitPack docs aren't entirely clear. Once I figured it out, I posted how to do it on dev.to. Here's what I had to do: https://dev.to/cicirello/how-to-configure-jitpack-for-recent-jdk-versions-4pek

Looks like you are using gradle. I use Maven. But part of my solution described in post linked above should be relevant for you. The part on configuring the JitPack for JDK 17. Maybe that is enough for your case.

cicirello avatar Aug 15 '22 12:08 cicirello

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 15 '22 02:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 30 '22 02:09 github-actions[bot]