Edit online

Problem

I encounter consistent crashes in one of the Java runtime threads (for example, AWT-EventQueue, Java2D Queue Flusher, or C2 CompilerThread).

Cause

This is usually caused by unknown errors somewhere in the implementation of the Java Runtime.

Solution

Although this does not guarantee that it will solve the problem, you could try updating the Java Runtime Environment (JRE) that comes bundled with Oxygen XML Editor to the latest supported version.
Important: You should only use a version of Java 8.
Windows/Linux
  1. Download the latest Java 8 JRE from here: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html. Download the JRE in the tar.gz format with the same architecture as your Oxygen XML Editor installation (x86=32bit / x64=64bit).
  2. Navigate to the Oxygen XML Editor installation folder and rename the jre folder to jre.old (you will need admin privileges if it is installed in Program Files).
  3. Unpack the tar.gz and rename the extracted folder to jre.
  4. Move that folder to the Oxygen XML Editor installation folder.
  5. Verify the paths in the jre folder. The path of the JRE bin folder should be: oxygen/jre/bin.
  6. Start Oxygen XML Editor and check the Java version in Help > About > System properties. The java.runtime.version should be match the one you unpacked.
Mac OS X
  1. Download the Mac OS X tar.gz distribution of Java 8 from here: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html.
  2. Extract the archive contents in a location of your choice (for example, Downloads). You will end up with a folder named something like this: jre1.8.0_181.jre (depending on the version).
  3. Move or rename the JRE that was bundled with Oxygen XML Editor. The bundled JRE folder (jre.bundle) is located inside a hidden folder named .install4j (in the Oxygen XML Editor installation folder), so you can not see it in the Mac Finder. Thus, you need to move or rename it via the command line.
    For example, if you have Oxygen XML Editor deployed in the Applications folder, the command should look similar to this:
    mv "/Applications/Oxygen XML Editor/.install4j/jre.bundle"
    "/Applications/Oxygen XML Editor/.install4j/jre.bundle.old"
  4. Move the unpacked JRE folder from the location where you extracted it in the second step to a folder named .install4j/jre.bundle inside the Oxygen XML Editor installation direction.

    For example, if you have Oxygen XML Editor deployed in the Applications folder, the command should look similar to this:

    mv "~/Downloads/jre1.8.0_181.jre""/Applications/Oxygen XML Editor/.install4j/jre.bundle"

    The default bundled JRE should now be successfully replaced by the newer one.

  5. Start Oxygen XML Editor and check the Java version in Help > About > System properties. The java.runtime.version should be match the one you unpacked.