It is important to note that Windows 10 does support Java. The issue Edge users encounter is plug-ins are not supported by Edge.  By “not supported,” it means there is simply no way to activate or enable the Java plug-in with the Edge web browser. However, Windows 10 not only includes the new Edge web browser, but includes the old Internet Explorer 11 too. Therefore, If you encounter Java content in Edge, simply click or tap the menu button, and choose Open with Internet Explorer.

   

Note: Internet Explorer can be launched from the Windows 10 Start button as well. While Internet Explorer is open, you may wish to make your first stop the Java.com web site to download and install the Java plug-in, or to at least verify that the latest Java version is installed on your PC.

Source: 
https://techhelpkb.com/how-to-use-java-on-windows-10/