My answer is a proven suggestion for my Mojave case and a workable option, but it is not meant as a universal guaranteed answer for all Adobe software on all Macs.
Maybe it might fail on a different Mac model running Mojave. Download Java for OS X 2017-001 worked when installed and allowed me to run CS3 on my mid 2012 Macbook Pro.
Xcode 12 looks great on macOS Big Sur, with a navigator sidebar that goes to the top of the window and clear new toolbar buttons. Xcode 12 builds Universal apps by default to support Mac with Apple Silicon, often without changing a single line of code. After installing Java for macOS 2012-006, can I continue to use Apple's Java 6 alongside the macOS JDK for Java 13? If you want to continue to develop with Java 6 using command-line, then you can modify the startup script for your favorite command environment. We will also update the JAVAHOME environment variable ne. How to install Java JDK (Java Development kit 12) on Mac OS. The Apple Java for OS X 2012-006 1.0 update for Mac OS X 10.7, 10.8 operating systems delivers improved security, reliability, and compatibility by uninstalling the Apple-provided Java applet plug.