JBoss ON server fails to start on Windows with 'There is no JVM available' if JAVA_HOME value is enclosed in quotes

Solution Verified - Updated -

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_HOME fails to be parsed

Environment

  • JBoss Operations Network (ON) 3.0, 3.1
  • Microsoft Windows 7, 8
  • Microsoft Windows Server 2008
  • JAVA_HOME set 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content