Before you upgrade Java DB, perform the tasks described below.
Verify the current version of Java DB before you upgrade.
Type the following command:
java -cp JavaDB-base\lib\derby.jar org.apache.derby.tools.sysinfo
This command returns the Java DB version information.
Java DB 10.2.2.1
Java DB 10.1.3.1
It is generally recommended that all Java ES components on a computer system (and in a computing environment) be upgraded to Release 5U1. Release 5U1 Java DB has no hard upgrade dependencies, so upgrade of shared components is optional. However, the upgrade of Java DB to Release 5U1 requires that Windows Installer patch (126910–02) is already applied.
The Java DB upgrade from Release 5 to Release 5U1 does not modify the Release 5 configuration data. However, for the sake of security, you should back up your entire Java DB installation and your data.