Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which version of guava is compatible with java 1.7 [closed]

Tags:

java

guava

My project can't compile with the lasts Gauva library as it seems to be compiled with Java 1.8 and I'm using Java 1.7 in my project.

Which version of Guava is compatible with Java 1.7?

like image 976
user1318369 Avatar asked Mar 16 '16 19:03

user1318369


1 Answers

All versions of Guava up to version 20 are compatible with Java 1.7.

From this email,

Guava 20 (to be released in early 2016) will be the final Guava release to support Java 6, or even Java 7. Guava 21 (ideally mid-2016) will require Java 8.

With version 21 we will also kick off a new fork, presumably called guava-android. It will maintain Java 6 compatibility, allowing it to be used for Android apps supporting a minimum version of Gingerbread.

like image 200
Kurt Alfred Kluever Avatar answered Nov 16 '22 02:11

Kurt Alfred Kluever