While I was executing a java applet, I got below error message. Yes, I installed latest of java s/w. Why? getting error message "Window cannot find ‘javaw’. Make sure you typed the name correctly, and then try again."
Actually, it was very simple to fix. It was related path issue.
You need to find java directory and make a path.
set PATH=%PATH%;c:\java\bin
See below article to make a change for the java path
https://ipbalance.com/programming/java/431-how-to-setup-basic-java-development-environment.html