java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path


I am facing the error:java.lang.UnsatisfiedLinkError: no ocijdbc12 in java.library.path. when working with setting up the connection for a database.

The String created for connection is :String conn=“jdbc:oracle:oci:@//”+hostname+“:”+port+“:”+SID


Could someone help me in setting up the connection for Oracle DB?

Thanks in advance!!!

Thanks & regards,
Udaya Bhaskar

facing the same issue