posted 10 years ago
You didn't actually say which environment variable the messages references.
CATALINA_HOME should point to your Tomcat base directory (which is does)
JAVA_HOME should point to the JDK base directory (as Jeanne said, remove the "\bin").
The CLASSPATH variable is not used with Tomcat, nor should you code anything that depends on it.
Finally, don't forget that special characters in paths such as blank spaces and parentheses can cause cause problems, so if you are assigning these environment variables on the command line, make sure that all necessary quotes and escapes are included or use the short-from (8.3) versions of the paths. Assuming that 8.3 is still supported in your version of Windows.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.