Internet Explorer 10 is designed to provide an add-on free experience. Add-ons, like Java, will only work in Internet Explorer for the desktop.
To install Java in Internet Explorer for the desktop
Open Internet Explorer for the desktop.
Go to Java.com.
Tap or click the Free Java Download button, and then tap or click Agree and Start Free Download. If you're prompted for an administrator password or confirmation, enter the password or provide confirmation.
On the Notification bar, tap or click Run. If you're prompted for an administrator password or confirmation, enter the password or provide confirmation.
Tap or click Install and then tap or click Close.