I am trying to install ProM Lite 1.3 on my Mac (M1 chip).
After downloading the files and trying to run the program from terminal, things load for a while and at a certain point, I receive the following error:
Exception in thread "main" java.lang.IllegalAccessError: class org.processmining.framework.util.OsUtil (in unnamed module @0xb1bc7ed) cannot access class sun.management.ManagementFactoryHelper (in module java.management) because module java.management does not export sun.management to unnamed module @0xb1bc7ed
I tried installing Temurin version of java as suggested in another post, but that did not seem to solve the issue.
The current version(s) of java on my machine are:
openjdk version "18.0.2.1" 2022-08-18
OpenJDK Runtime Environment Temurin-18.0.2.1+1 (build 18.0.2.1+1)
OpenJDK 64-Bit Server VM Temurin-18.0.2.1+1 (build 18.0.2.1+1, mixed mode)
I suspect the issue might be related to the version of java I am running, as the proM documentation requires Java 7 or higher (and is not well tested on Java >8). I'm not sure exactly how to run multiple versions of java at the same time though.
- Is this issues related to java version? If so, is there some way to tell more easily in the future?
- How can I manage multiple java versions at the same time?