Today, as I was trying out one of our sample applets on our website, it would not start.

Investigate The Issue:

I use Mozilla Firefox and to investigate the issue, I clicked on the “Open menu” and clicking on Developer -> Web Console to show the Web Console.

The error message I saw was “Blocked loading mixed active content “http://java.com/js/deployJava.js”[Learn More]”

Cause for the Issue: HTTPS

We recently moved our website to https and I was trying to access the applet through an https URL.

Resolution:

I changed the following line in our applet page source from

<script src="http://java.com/js/deployJava.js"></script>

to

<script src="https://java.com/js/deployJava.js"></script>

and the applet loaded fine when loaded again, even when called from an https URL!