I'm confused because java is not working with Oracle.
I'm trying to connect java to Oracle but I'm getting oracle.jdbc.driver.OracleDriver
exception. I follow the all steps. Placed the ojdbc.jar file in jre/lib/ext director but still getting same exception.
Recently It was working fine. But recently I installed windows and Oracle again. But during installation of Oracle by mistake I change the path in installation and now my Oracle directories are in this order.
admin
audit
cfgtoollogs
checkpoints
diag
OracleHome
--oradata
--product
But before new installation when connection working fine the Directory order was in this order.
OracleHome
--admin
--audit
--cfgtoollogs
--checkpoints
--diag
--oradata
--product
I'm confused may be exception could be caused due to this directories hirarchy? if yes then how I can solve it?