Hey Bill,
I still can't get my database. There are no class files in directory with driver. Compiling using: javac *.java produces 66 errors. The first complaint is:
MsqlQueryData.java:4: cannot resolve symbol
symbol: class Encoder
location: package util
import com.imaginary.util.Encoder;
I've searched my hd and I don't have a class named Encoder. Below is the class I'm trying to run. Which doesn't run because it can't find the MsqlDriver. Any ideas?
import java.sql.*;
public class
Test {
public static void main(
String args[] )
{
Connection mSQLcon = null;
try
{
Class.forName("com.imaginary.sql.msql.MsqlDriver").newInstance();
}
catch ( InstantiationException ie )
{
ie.printStackTrace ();
}
catch( ClassNotFoundException cfe )
{
System.err.println("Test.java:main:couldn't find driver");
cfe.printStackTrace();
}
catch( Exception e )
{
e.printStackTrace( );
}
finally
{
if( mSQLcon != null )
{
try
{
mSQLcon.close()
}
catch( Exception e )
System.err.println("Test.java:main method:finally");
}
}
}
}
}