0

I am using android-support-v7 library in my project, but the official libray is compiled with jdk7 and my company must use jdk6.

how can I make the official libray backward jdk6?

roger
  • 9,063
  • 20
  • 72
  • 119
  • http://stackoverflow.com/questions/17466882/how-can-i-use-a-library-compiled-for-java-7-in-java-6 – Vivin Feb 11 '15 at 06:06

1 Answers1

0

The library is compiled with jdk 7 , meaning it must be using new features (Example:- try-with-resources) introduced in java 7. Hence if somehow you recompiled it in java 6, it will give you compilation errors.

The only way I see is to use jdk 7 in your project if you want to use this library, or search for older versions of library compiled in jdk 6 and use those.

Mustafa sabir
  • 4,130
  • 1
  • 19
  • 28