Adding a driver to Aqua Studio mac platform installation

I have manually copied my driver to /$AquaStudio.app/Content/Java/Drivers/specific_driver. I tried connecting to Generic JDBC URL using this driver class. In windows it all works fine. But in Mac it is throwing error   'Driver com.amazon.redshift.jdbc42.Driver does not accept url jdbc:redshift:*********'.