Hi Philip,
Is the Environment Variables -> System variables -> Path maintained properly?
Have you tried to use an installer to install the JDK the error message is complaining about?
Sometimes it is not enough as the registry must be updated as well.
Best Regards,
Peter