Cannot open Standalone version

(Emma Brofsky) #1

Hi there- I have downloaded the Standalone version 2.8.0 on a Mac. I have unzipped the files. When I click on the file openmrs-standalone.jar, nothing opens or installs. I have Java 8. What else could be the issue?

(Daniel Kayiwa) #2

Try to go the standalone folder on command prompt and type this command: java -jar openmrs-standalone.jar

Then share the log at

(Emma Brofsky) #3

It just says: Unable to access jarfile openmrs-standalone.jar

(Daniel Kayiwa) #4

Sharing the full log would be helpful

(Emma Brofsky) #5

Emmas-MacBook-Air:~ emmabrofsky$ tail java -jar openmrs-standalone.jar

tail: java: No such file or directory

tail: -jar: No such file or directory

tail: openmrs-standalone.jar: No such file or directory

(William Zhang) #6

Your local directory should be the standalone folder: to switch directories in bash, type cd directory_name. After that, run java -jar openmrs-standalone.jar and share the full log.

(Emma Brofsky) #7

Emmas-MacBook-Air:~ emmabrofsky$ cd Desktop/referenceapplication-standalone-2.8.0

Emmas-MacBook-Air:referenceapplication-standalone-2.8.0 emmabrofsky$ java -jar openmrs-standalone.jar

Exception in thread “main” java.lang.UnsupportedClassVersionError: org/openmrs/standalone/Bootstrap : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(

at java.lang.ClassLoader.defineClass(





at Method)


at java.lang.ClassLoader.loadClass(

at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

Emmas-MacBook-Air:referenceapplication-standalone-2.8.0 emmabrofsky$

(William Zhang) #8

Someone else on the Talk got a similar error too:

This is most likely due to your Java version. Make sure that it is version 1.8. You can see how to change it here:

The wiki link is for Ubuntu but the bash commands described should work with MacOs as well.