Skip to content

Known Issues and Workarounds

neoancient edited this page Nov 22, 2018 · 18 revisions

Running under Java 9+

(Only applies to releases before 0.45.2)

Java 9 includes a new way to split libraries ("JAR" files) into modules. This means that some Java classes, which were until Java 8 part of the normal Java installation, aren't automatically found. Adding the following to the command line or the megamek.l4j.ini file fixes it for now.

--add-modules java.se.ee

Weird artifacts/Screen Distortions

You can try one of these solutions. Adding the following flags in the Megamek.l4j.ini and Mekhq.l4j.ini file

-Xmx1200m -Dsun.java2d.d3d=false

-or-

-Xmx1200m -Dsun.java2d.opengl=true

Clone this wiki locally