Eclipse - How to add an archive to the classpath ?

> Integrated development environment (ide) > Eclipse

1 - About

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

Advertising

3 - Steps

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

4 - Support

4.1 - 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;