Menu

How to use Library System

Here's a basic rundown of how the Java Library System works:

Run the jar file with the following command:
java -jar RITAnime.jar

You'll get a nice long ClassNotFound exception. It's complaining that it can't find the Connector/J JDBC drivers for MySQL (the default).

Also, a ritanime.cfg file will be created. Right now, the easier way to change your database setup is by editing this file directly. Edit the driver, database, user and password colomns from their default values, and you should be set (assuming you've created the database tables, of course)

Another easy-to-make problem is not including your database drivers in your classpath. Make sure you do this.

Posted by Fanguad 2003-02-26

Log in to post a comment.