Hi,
Thank you posting the query in Microsoft Community forums.
I understand that you cannot install java on the computer properly. Try the suggestions and check.
Do you receive any error message on the computer?
You may try the suggestions and check if you are able to install Java VM.
You may uninstall previous versions of java and install the latest versions and check if it helps. You may refer the links below for steps:
How do I uninstall Java on my Windows computer?:
http://www.java.com/en/download/uninstall.jsp
Download Java for Windows:
http://www.java.com/en/download/inc/windows\_new\_ie.jsp
You may also contact Java support for further assistance:
Link to contact java support: http://java.com/en/download/support.jsp
Please let us know if you face any further issue with Windows. I would be glad to assist.