title: Error: Could not create the Java Virtual Machine
body: <p>I am tried to run ant Project but getting below error</p>
  
  <blockquote>
    <p>Unrecognized option: -classic Error: Could not create the Java Virtual
    Machine. Error: A fatal exception has occurred. Program will exit.
    Press any key to continue . . .</p>
  </blockquote>
  
  <p>run.bat contain below setting</p>
  
  <pre><code>set JAVA_OPTS=%JAVA_OPTS% -Xms3072m -Xmx3072m -Djava.util.logging.config.file=%JBOSS_HOME%\server\all\conf\logging.properties
  
  set JAVA_OPTS=%JAVA_OPTS% -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=2048M
  
  
  set JAVA_OPTS=-classic -Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
  </code></pre>
  
  <p>System configuration:</p>
  
  <ul>
  <li>OS - Window 7</li>
  <li>Ram - 8gb</li>
  </ul>