I think you are trying to creat a connection object.
But this does not seems like a
JDBC API.
Becoz in JDBC API you can not directly create the connection.
To create a connection you have to have Driver Object(java.sql.Driver) or DriverManager (java.sql.DriverManager) which ultimately gives you Driver Object.
I Hope this clrifies a bit.