Why do I get a "ASM ClassReader failed to parse class file" error with Java 8?

I have attempted to download both OpenMRS standalone 2.2 and 2.3 onto my MacOSX 10.10.5 with Java 8 downloaded and have gotten error messages each time: Open MRS not able to start ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn’t supported yet: class path resource [javax/swing/JFrame.class]; nested exception is java.lang.IllegalArgumentException

I have read that perhaps I need to downgrade java from 8 to 7, but is this the case for the new version of standalone 2.3 as well? What do I need to be able to do to run Open MRS??


Hi Justine,

The standalone does not yet support Java 8. Can you take a look at this page and see how to run the standalone with lower versions of Java? https://wiki.openmrs.org/display/docs/OpenMRS+Standalone

Hi, How do I downgrade to java 7 on my mac? i am having trouble uninstalling java 8.