I am using Netbeans 7.2 IDE with jdk 1.6. My application downloads a file from google drive. When I am running the application in IDE, the file is getting downloaded, but when I do "Clean & build" and run the standalone jar of the application it is giving me the following error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target