Here’s an example to show you how to connect to Oracle database via a JDBC driver. Download Oracle JDBC Driver. Visit Oracle website to get the Oracle JDBC driver ojdbc6.jar or ojdbc7.jar. It is an open source Java JDBC Driver implementation which allows Java developers and jdbc client programs (e.g., DBeaver, NetBeans, SQLeo, Open Office Base, Libre Office Base, Squirrell) to read/write Microsoft Access database.
C: Users Sarveshwar Desktopjavac OracleJDBC.java C: Users Sarveshwar Desktopjava OracleJDBC ——– Oracle JDBC Connection Testing —— Where is your Oracle JDBC Driver?