Mozilla supports multiple versions of Java installed on your computer.
To select which version of Java you want to use go to - Edit>Properties>Advanced
Check the "Enable Java" checkbox and select the Java version from the list below.
This list is automatically generated.
Note - You must restart Mozilla to change Java version.