Eclipse - How to add an archive to the classpath ?


How to add in the Classpath an archive. In this example a Jdbc Driver (JAR File).


You can then play with the Oracle Jdbc Api Driver and use the class oracle.jdbc.OracleResultSetMetaData for instance.


The import oracle cannot be resolved

If you don't do the steps above, you get this error :

The import oracle cannot be resolved.

on the import of the class : oracle.jdbc.OracleResultSetMetaData;

import oracle.jdbc.OracleResultSetMetaData;

Powered by ComboStrap