Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2: Execute the jar file in that folder.  (command line is: java -jar openmrs-standalone.jar)

Note

If you have a java 1.8 runtime environment installed OpenMRS will probably fail to start. In this case specify the full path of the main java executable in the command line:

c:\Program Files\java\jdk1.6.0_03\bin\java.exe -jar openmrs-standalone.jar

Adding the -commandline switch will make it run in command-line mode. (full command would be: java -jar openmrs-standalone.jar -commandline)

Adding the -noninteractive switch will make it run in a non interactive mode. (full command would be: java -jar openmrs-standalone.jar -commandline -noninteractive)

...