web3j icon indicating copy to clipboard operation
web3j copied to clipboard

Java8 support for the following version

Open iampkuhz opened this issue 1 year ago • 1 comments

Java 8 support

Java 8 is not support when upgrade from v4.9.8 to v4.10.0

Since Java8 is still supported until 2030, it would be great for web3j to support Java8.

thanks.

iampkuhz avatar Jun 21 '24 03:06 iampkuhz

I ran into the same issue when trying to compile it in a project that uses JDK 11. Since the current web3j jar binaries are targeting JDK 17:

sourceCompatibility

, the minimum version of the project where web3j could be used is 17. It would be good to at least document clearly, that the minimum JDK version to use the project is 17

kaygorodov avatar Jun 27 '24 20:06 kaygorodov

We won't release a new Web3j version with Java 8 because we are using Hyperledger Besu to run out integration tests and a lower Java version than one used by Besu will result in incompatibilities errors.

gtebrean avatar Sep 12 '24 19:09 gtebrean