3 ms·
Your comment might be misunderstood. While Guava now requires Java 6 to compile, it is not required to run it. Guava is still targeting Java 5. You can use it b
by eneveu 15y ago
Your comment might be misunderstood. While Guava now requires Java 6 to compile, it is not required to run it. Guava is still targeting Java 5. You can use it by declaring a Maven dependency or by adding the latest Guava jar to your project libraries... But yeah, it forces you to upgrade your compiler.
There is an issue to create a Java 5 backport branch when Guava moves to Java 6: http://code.google.com/p/guava-libraries/issues/detail?id=32 http://code.google.com/p/guava-libraries/issues/detail?id=32
- eneveu 15y agoKevin Bourrillion (Guava lead developer) just made an insightful reply on this subject in the issue tracker: > Saw this bug referenced as "a reason not to use Guava." > Does everyone understand that Guava is still perfectly > *usable* on JDK 5, it just can't be *built* using JDK 5, > and that part of the reason for that is *compiler bugs* > in JDK 5 whose fixes in 6 were never backported? http://code.google.com/p/guava-libraries/issues/detail?id=364#c7 http://code.google.com/p/guava-libraries/issues/detail?id=36...