Home > Articles

  • Print
  • + Share This
Like this article? We recommend

Loading the Derby Driver

Now that the SimpleApp object members have been set, it’s time to load the Derby driver, which is achieved using the code in Listing 6.

Listing 6 Loading the Derby driver

Class.forName(driver).newInstance();

For the code in Listing 6 to work, the Derby JAR file must be on the CLASSPATH. This was done as part of the post-install configuration.

  • + Share This
  • 🔖 Save To Your Account