I am using weka3.5.6 developer version.When i run weka
with console,it says
some error messages "trying to add JDBC driver:rmijdbc.Rjdriver-error,not in
CLASSPATH? etc..i can't get what it is..
Weka has a default setup for various JDBC drivers (default
DatabaseUtils.props), i.e., you only need to add them to your
CLASSPATH and you can use them straight away. If these drivers are not
in the CLASSPATH, it tries in vain loading them.
In older versions of Weka, there was a misleading message being
printed to the console ("Driver XYZ added"), which only meant that the
*driver name* was added to a list of classnames that would be tried to
instantiate. Whether the instantiation of the actual class was
successful or not, the user never heard/read anything about it. Highly
frustrating if you can't connect to a database, but all that Weka
tells you, is that the driver got added successfully. In order to
avoid this trap, I implemented the current output, stating if the
instantiation of a JDBC driver failed otherwise omitting it.
If you don't use any of those JDBC drivers for connecting to a
database, forget about the error message.
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
Ph. +64 (7) 858-5174