Must specify the location of an OCSP Responder – Java
While i’m trying to run a Java Web Start application, i encountered the following PKIX , some certificate errors
PKIX path validation failed: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:251) at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:234) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:148) at sun.security.validator.Validator.validate(Validator.java:218) at sun.security.validator.Validator.validate(Validator.java:187) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:392) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:211) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1238) at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1075) at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:620) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:165) at com.sun.javaws.Launcher.launch(Launcher.java:95) at com.sun.javaws.Main.launchApp(Main.java:299) at com.sun.javaws.Main.continueInSecureThread(Main.java:209) at com.sun.javaws.Main$1.run(Main.java:106) at java.lang.Thread.run(Thread.java:619) Caused by: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139) at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:316) at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178) at java.security.cert.CertPathValidator.validate(CertPathValidator.java:250) at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:246)
Solution
Not really sure what’s the root cause of it, the solution is quite simple, we need to turn off the java certificate checking.
1) Access Windows Control Panel, click on the Java icon.
2) Click Advance tab, and expand the security option
3) Make sure the following two options are “uncheck”
– Check publisher certificate for revocation
– Enable online certificate validation

4) Apply and Done.
Tags : java

The “Check publisher certificate for revocation” isn’t there… What shall i do?
Thanks a lot man, it works perfectly!!
Thanks man,this worked for me as well!
someone had selected all the options in java – maybe to make it go faster!!!!!
thank you, works perfect
hey thanks…. it worked :)
Hi I’m getting the same error .. But mu OS is ubuntu 11.10 .. Please give ma a solution error is -> java.lang.NoClassDefFoundError: sun/security/provider/certpath/OCSP
http://my.jetscreenshot.com/6892/20120220-7rws-113kb.jpeg
I asked so many IT specialist and non could help…THANK YOU!…worked perfectly!!!!
my runescape isnt working its the same exact problem with my java i did what u said and it didnt seem to work idk? message me at gingersuck@yahoo.com please if you ever get this message
thanks, very helpful!
TYSMMMMMMMMMM II ILOVEEEEEEE YOU
Thank you, Thank you, Thank you! :-)