Home > Articles

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.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.