JDK 6 version throws ClassNotFoundException when run under JDK 6

Issue #311 resolved
Alex Zuroff created an issue

I’m trying to use the JDK 6 version of the library to introduce AAD authentication to an old legacy app that has to run under JDK 6. I’ve run across a couple of classes so far - Secret and ClientSecretBasic - that import java.nio.charset.StandardCharsets. That class wasn’t introduced until JDK 7, and trying to use either of those classes causes a ClassNotFoundException when running under JDK 6.

Also, the content-type dependency was compiled under JDK 7, and JDK 6 complains about an unsupported bytecode minor version when I try to include that .jar file in my project.

Comments (2)

  1. Log in to comment