Question: is ojdbc7.jar compatible with 11g?
Answer: 0.1 (which only supports Java 8), and still use that with Oracle 11g. ... Note that ojdbc7 is not an indication of version, it just indicates that Java version it targets (ojdbc6 -> Java 6, ojdbc7 -> Java 7, ojdbc8 -> Java 8), and that again determines the supported JDBC specification version.