title: Running ProM Tool on Mac: "Cannot Access Class" Error
body: <p>I am trying to install <a href="http://www.promtools.org/doku.php" rel="nofollow noreferrer">ProM Lite 1.3</a> on my Mac (M1 chip).</p>
  <p>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:</p>
  <pre><code>Exception in thread &quot;main&quot; 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
  </code></pre>
  <p>I tried installing Temurin version of java as suggested in another post, but that did not seem to solve the issue.</p>
  <p>The current version(s) of java on my machine are:</p>
  <pre><code>openjdk version &quot;18.0.2.1&quot; 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)
  </code></pre>
  <p>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 &gt;8). I'm not sure exactly how to run multiple versions of java at the same time though.</p>
  <ol>
  <li>Is this issues related to java version? If so, is there some way to tell more easily in the future?</li>
  <li>How can I manage multiple java versions at the same time?</li>
  </ol>