title: Could not create the Java virtual machine error?
body: <p>I am using Apache tomcat. I am running Tomcat through cmd.exe. I have been able to deploy a "Hello World" webapp with no problems. However, I have tried to run the servlet 'HelloServlet.java' by typing:
  "C:\apache-tomcat-8.0.0-RC3\webapps\hello\WEB-INF\java -d classes src\mypkg\HelloServlet.java"
  Or
  "C:\apache-tomcat-8.0.0-RC3\webapps\hello\WEB-INF\classes java HelloServlet.java"</p>
  
  <p>but I always get the error
  "Unrecognized option: -d
  Error: Could not create the Java Virtual Machine
  Error: A fatal exception has occurred. Program will exit"</p>
  
  <p>If I try:
  "C:\apache-tomcat-8.0.0-RC3\webapps\hello\WEB-INF\javac -d classes src\mypkg\HelloServlet.java"</p>
  
  <p>then I get the message " 'javac' is not recognized as an internal or external command, operable program or batch file "</p>