Does OKTA SDK supports JDK7?
Have you tried to compile your project with it?
At least I see that the latest version of their JAR is built with java 8, so probably you won’t be able to compile. I bet, that the runtime part is compiled with the same, so runtime would probably fail for you as well.