JAVA_HOME variable
If your Java installation directory has a space in its path name, you should use the shortened path name (e.g. C:\Progra~1\Java\jre6) in the environment variable instead.
- Progra~1 = 'Program Files'
- Progra~2 = 'Program Files(x86)'