perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

Is the Spark Java framework compatible with Java 17 #1275

Open ajayaviyyapu opened 1 year ago

ajayaviyyapu commented 1 year ago

It's always mentioned that this framework is for Java 8. Can anyone confirm that this framework is forward compatible? Can we use the older versions of this framework for Java 17? Or do we need use the latest version of the framework for Java 17? Is there any Java compatibility matrix for this framework versions? Please help me with the link if we have such thing.

https://stackoverflow.com/questions/76012926/is-the-spark-java-framework-compatible-with-java-17

lepe commented 1 year ago

I'm using this library with Java 11 and Java 17 without any issues (although the library was compiled with Java 8). You just need to use the compiled library (from maven repository).

Also if you are interested in a Java 17 version of this project, take a look at: https://github.com/nmondal/spark-11

SoltauFintel commented 1 year ago

I use the latest Spark version with Temurin Java 17.

lepe commented 1 year ago

I have released 2.9.4-unofficial-5 in my fork which is using Java 11 (it can be used with any 11+ version).

nmondal commented 4 months ago

For a Java 17 version it is released now : https://mvnrepository.com/artifact/org.zoomba-lang/spark-core