IllegalAccessError with Java 16 or newer

Troubleshooting

Summary

yEd supports Java 8 up to and including Java 15. Newer versions of Java are not yet supported.

Description

If you run yEd with Java 16 or newer, it will crash with an error that says:

IllegalAccessError: superclass access check failed

The reason for this error are behavior incompatible changes from Java 15 to Java 16.

We strongly recommend to install yEd with a bundled Java 15 runtime environment to prevent this kind of problem.

If you want to try out Java 16 or newer nevertheless, you can try running yEd with the virtual machine options from the attached vmoptions file. No guarantees though.

Resources

Categories this article belongs to:
yEd
Applies to:
yEd: 3.21, 3.22
Keywords:
IllegalAccessError