I am reading about JDBC in OCP Java book, and in this book, it explains about JavaDB and before running my code, I need to add derby.jar file to my classpath.
java −cp "/my/jdk/home/db/lib/derby.jar:." SetupDerbyDatabase
OS: Ubuntu 19.04
Java version: 8
The JDK is being slimmed down and derby is no longer part of the distribution.
You must download the jar manually and then use the path to the downloaded jar instead of the one you use today.