ShieldSquare Java connector is upward compatible and works for Java version >=1.6. To determine the version of Java being used, follow the steps given below.
- Extract ss2.jar file from the Java connector package that you downloaded from ShieldSquare portal.
- This will give you following .class file
- Run the below mentioned command on SS2.class of .class file
javap -verbose SS2.class | find "major"
major version: 50 if .class file is compatible with java1.6
major version: 51 if .class file is compatible with java1.7
From the output, the version of Java can be determined.