Hi, I apologize for asking such a basic question, but hopefully the answer will be easy. I have installed the standalone OpenMRS on my Lenevo Thinkpad. I downloaded, and extracted all files from the Zip folder, while having java version “17.0.2”. I also restarted the computer just in case it mattered. Now when I right click on “openmrs-standalone” and Open with Java ™ Platform SE binary, nothing happens whatsoever. I tried, on command prompt to change to the directory of the extracted standalone and type this command:
java -jar openmrs-standalone.jar
and it gave me the the following error:
Attempting to load properties file in current directory: openmrs-standalone-runtime.properties Using runtime properties file: openmrs-standalone-runtime.properties Unrecognized VM option ‘PermSize=256m’ Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Exit:1 [MysqldResource] Mysqld not running. No file: C:\referenceapplication-standalone-2.12.2\database\data\MysqldResource.pid
Does anyone know how to fix it? Thank you. Charbel.
C:\Users\Charbel>java -version java version “17.0.2” 2022-01-18 LTS Java™ SE Runtime Environment (build 17.0.2+8-LTS-86) Java HotSpot™ 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)