While trying to install Crowd on Windows according to this howto, I stumbled over the above error. Here's some console output:
C:\Atlassian\Crowd>set jav
JAVA_HOME=C:\Java\jdk6
C:\Atlassian\Crowd>start_crowd.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
C:\Atlassian\Crowd>
As you can see, my JAVA_HOME environment variable is actually pointed to a JDK directory. Also, this very server is already running multiple Atlassian apps (Jira, Confluence, Fisheye,...) which all work. So Java *should* be configured correctly.
Any ideas what could cause this? Where can I look? What can I do?