The java version on the host was incorrect.
Install the correct version of java version on PC.
Make sure, if you are using a 32 bit browser, u must also use 32 bit java as well.
Make sure the URL to be accessed has been mentioned in the exception site list of java security policy.
Java must be enabled in the browser.