hyperledger / web3j

Lightweight Java and Android library for integration with Ethereum clients
https://www.web3labs.com/web3j-sdk
Other
5.02k stars 1.66k forks source link

Java8 support for the following version #2069

Open iampkuhz opened 1 week ago

iampkuhz commented 1 week ago

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.

kaygorodov commented 3 days ago

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