Fix the bug I introduced previously when adapting build.sbt for JDK 11#476
Fix the bug I introduced previously when adapting build.sbt for JDK 11#476
build.sbt for JDK 11#476Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #476 +/- ##
=======================================
Coverage 91.30% 91.30%
=======================================
Files 18 18
Lines 840 840
Branches 52 52
=======================================
Hits 767 767
Misses 73 73 ☔ View full report in Codecov by Sentry. |
|
for spark 4.0 we need java 17 and 21 |
Okay, I will test again but this seemed to break Java 8, so I thought of pulling it. I will check again. I do not have any idea what is required for Spark 4. If you have a better grasp, I would mucho appreciate a Spark 4 support ticket :) |
|
@bjornjorgensen yeah this breaks Java 0.8, which I think most Spark users run. I guess we should conditionally add it based on the JVM version? Unrecognized option: --add-opens=java.base/sun.nio.ch=ALL-UNNAMED |
|
Spark also includes |
|
spark branch 3.5 only support and build on java version 11 and 17 I have with a lot of help from AI tested it to run on java 8, 11 and 17 https://github.com/bjornjorgensen/graphframes/commits/java11/ you can copy what you like but.. its made just to test and it is written by AI |

JDK 8 support is adequate for now, I believe it is still the recommended version for Spark.