java.sql.SQLException: The connection attempt failed.
Hello,
I've searched through some archives and tried some of those solutions that seems to be related but none seems to work. When I run my program in netbeans or the jar file in my dist folder it runs fine. Then when I run the jar file in a different computer I get this error: java.sql.SQLException: The connection attempt failed. The database is postgresql. I've also added a certificate and imported to the cacerts file in the jdk and jre folders on the server side. Anyone have a clue as to why I'm getting this error. Is it the certifcate?
Thanks.
vyang