Hi Giovanni,
Your concern regarding the installation of JAVA on Windows 10 is more complex than what is typically answered in the Microsoft Answers forums. Even if I cannot answer you question, I want to direct you to the right channel of support. The topic is better suited for the IT Pro audience on TechNet. Please post your question in the TechNet Windows 10 General forum. Kindly visit the link provided here: Microsoft TechNet Forums (Windows 10 IT Pro | Windows 10 General) - Ask a question.
On the other hand, we also found a Forum Article created by one of our Community MVPs named Andre Da Costa, regarding installation of JAVA for Windows. Kindly check as well and see if it helps. The link is provided here: How to install JAVA on Windows.
Let us know if there is anything else we can do to help.