Oracle SQL Developer and the Assistive Technology Exception

I migrated my Oracle SQL Developer installation after my hard drive did crash.
Of course, this is something you should not do, and should install everything from scratch, but I’m lazy!
However, launching the java application I got an exception:
% /opt/sqldeveloper/                        

 Oracle SQL Developer
 Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.

Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
        at java.awt.Toolkit.loadAssistiveTechnologies(
        at java.awt.Toolkit.getDefaultToolkit(
        at java.awt.Toolkit.getEventQueue(
        at java.awt.EventQueue.isDispatchThread(
        at javax.swing.SwingUtilities.isEventDispatchThread(
        at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(
        at oracle.ide.osgi.boot.api.SplashScreen.createInstance(
        at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(
        at oracle.ide.osgi.boot.OracleIdeLauncher.main(
Error: SQL Developer can't recognize the JDK version
The JDK was running just fine, I’ve Eclipse running on top of it.
So to fix the problem I had to edit the /etc/java-8-openjdk/ commenting out the line about GNOME assistive implementation (I’m running Plasma):
% sudo cat /etc/java-8-openjdk/

# The following line specifies the assistive technology classes 
# that should be loaded into the Java VM when the AWT is initailized.
# Specify multiple classes by separating them with commas.
# Note: the line below cannot end the file (there must be at
# a minimum a blank line following it).

While I probably will need assistive technologies, let not assume I’m using GNOME!

The article Oracle SQL Developer and the Assistive Technology Exception has been posted by Luca Ferrari on April 28, 2020