You can verify successful upgrade of Java DB by starting the Java DB instance as follows:
java -cp JavaDB-base\lib\derby.jar org.apache.derby.tools.sysinfo
The messages that indicate the Java ES release version are:
Java DB 10.2.2.1
Java DB 10.1.3.1