Update docs: Cleanup jigsaw update guide
<h2>Why?</h2>
<p>Seeing that Java 8 is still very popular and lots of people have not yet moved to later versions <i>(Let alone know that new versions exist)</i> the builds that are provided on github will be based on Java 8. This short guide will allow you to compile Recaf to work on later versions of Java.</p>
<h2>Updating the <span class="code">pom.xml</span></h2>
- <p><b>For Java 9/10:</b></p>
+ <ol>
+ <li>Update the <span class="code">maven-compiler-plugin</span> plugin, replace <span class="code">&lt;source&gt;1.8&lt;/source&gt;</span> and <span class="code">&lt;target&gt;1.8&lt;/target&gt;</span> with <span class="code">&lt;release&gt;$VERSION&lt;/release&gt;</span> where <span class="code">$VERSION</span> is the <i>integer</i> release of the JDK, such as 9, 10, 11, 12, etc.</li>
+ <li>Update the <a href="https://mvnrepository.com/artifact/org.controlsfx/controlsfx"><span class="code">controlsfx</span></a> dependency in the <span class="code">pom.xml</span> such that the version is changed to the match the version of Java you want to run on. If you're not sure which version to use, use the most recent version.</li>
+ <li>Adding the OpenJFX module <i>(Required for Java 11+)</i>
<ul>
- <li>Update the <span class="code">controlsfx</span> dependency in the <span class="code">pom.xml</span> such that the <span class="code">8.40.14</span> release is changed to the <span class="code">9.0.0</span> release.</li>
- </ul>
- <p><b>For Java 11+:</b></p>
- <ul>
- <li>Update the <span class="code">controlsfx</span> dependency in the <span class="code">pom.xml</span> such that the <span class="code">8.40.14</span> release is changed to the <span class="code">9.0.0</span> release.</li>
- <li>Add the JavaFX <a href="https://mvnrepository.com/artifact/org.openjfx/javafx-controls">controls</a> and <a href="https://mvnrepository.com/artifact/org.openjfx/javafx-web">web</a> dependencies that match the version of Java you want to run on.</li>
+ <li>Add the JavaFX <a href="https://mvnrepository.com/artifact/org.openjfx/javafx-web"><span class="code">web</span></a> dependency that matches the version of Java you want to run on. It will automatically resolve the rest of the OpenJFX dependencies required to compile.</li>
</ul>
+ </li>
+
+ </ol>
<h2>Compiling</h2>
<p>You can then build from the source code with maven <i>(Open a terminal and enter <span class="code">mvn package</span> assuming you have Maven installed)</i>.</p>
</section>
