JBoss ON server fails to start on Windows with 'There is no JVM available' if JAVA_HOME value is enclosed in quotes
Issue
- Server will not start
-
The server will not start and the scripts errors with:
'Files' is not recognized as an internal or external command, operable program or batch file. There is no JVM available. Please set RHQ_SERVER_JAVA_HOME or RHQ_SERVER_JAVA_EXE_FILE_PATH appropriately. -
JAVA_HOMEfails to be parsed
Environment
- JBoss Operations Network (ON) 3.0, 3.1
- Microsoft Windows 7, 8
- Microsoft Windows Server 2008
-
JAVA_HOMEset to a path that was enclosed in quotes:set JAVA_HOME="C:\Program Files (x86)\Java\jdk1.6.0_30"
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
