Cybersecurity
DevOps Cloud
IT Operations Cloud
For UFT One to identify Java objects in Java 16 or later, you must specify the following options when you run your Java applications:
--add-modules=java.desktop --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.image=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED
You can specify these options in one of the following ways:
Include the options in the Java command that you use to run your application.
Enter the options in the value of the JDK_JAVA_OPTIONS environment variable. Note that this affects all Java applications that you run on this machine.
Full article: https://portal.microfocus.com/s/article/KM000013134