How to run CM Meta Analytics in Command Prompt window

How to run CM Meta Analytics in Command Prompt window

How to run CM Meta Analytics in Command Prompt window. In preparation, the jobs should be cleared and the service stopped.

 

Steps

  1. Open administrator command prompt
  2. Set path for Java
    1. path %path%;"c:\Program Files (x86)\Java\jre6\bin"
  3. Change directory to cmMetaAnalytics dir
    1. Cd C:\Program Files (x86)\CMFirst Technologies\cmMetaAnalytics
  4. Run main java command

C:\Program Files (x86)\CMFirst Technologies\cmMetaAnalytics>java "-Djava.library

.path=C:\Program Files (x86)\CMFirst Technologies\cmMetaAnalytics\bin" "-Djava.c

lass.path=lib/SourceScannerInteg.jar;lib/;lib/derby.jar;lib/org.codehaus.jackson

.mapper.jar;lib/org.restlet.ext.jackson.jar;lib/commons-collections-3.1.jar;lib/

SourceScannerInteg.jar;lib/antlr-2.7.6.jar;lib/reflectutils-0.9.14.jar;lib/sprin

g-dao-2.0.8.jar;lib/h2-1.3.162.jar;lib/org.restlet.ext.grizzly.jar;lib/com.sun.g

rizzly.jar;lib/com.sun.grizzly.util.jar;lib/jta-1.1.jar;lib/org.codehaus.jackson

.core.jar;lib/slf4j-log4j12-1.6.4.jar;lib/hibernate3.jar;lib/cup2.jar;lib/dom4j-

1.6.1.jar;lib/spring-hibernate3-2.0.8.jar;lib/jnotify-0.93.jar;lib/hibernate-jpa

-2.0-api-1.0.1.Final.jar;lib/generic-dao-0.9.18.jar;lib/commons-io-2.1.jar;lib/j

avassist-3.12.0.GA.jar;lib/log4j-1.2.16.jar;lib/restlet.jar;lib/slf4j-api-1.6.4.

jar;lib/spring-2.5.6.SEC03.jar;lib/jspf.core-1.0.2.jar;lib/CMMA-API.jar;lib/jna.

jar;lib/waffle-jna.jar;lib/platform.jar;lib/guava-r07.jar" "-Xmx1024m" com.cmfir

sttech.cmmetaanalytics.service.SourceScannerServicesComponent

 

above is all on one line.