The ij.password property specifies the password used to make connections.
This property is used in conjunction with the ij.user property to authenticate a connection. If authentication is not active, these properties are ignored.
ij.password=password
java -Dij.user=me -Dij.password=mine org.apache.derby.tools.ij
See the Derby Security Guide for more information on Derby authentication and security.