Java 2017-001 actually corresponds to what is more commonly called Java 6 and is incredibly ancient. The current version is Java 13.
Apple had for years and years been warning that this extremely old version was no longer going to be supported - Oracle stopped supporting it themselves years ago. As a result it is impossible to install and use it in macOS Catalina. (The error message is misleading but the reality is it is not possible.)
See Download Java for OS X 2017-001
As mentioned the current version is arguably 13 but versions back to 8 are supported to varying degrees.
Unfortunately some incredibly stupid developers persisted in writing their software to only work with this ancient Java 6 on a Mac. As such these will also not work in Catalina. (Cough Adobe, cough.)
You could try installing a newer version of Java such as 8, 10, 11, or 13. However if the developer has hardcoded their app to require Java 6 you will be stuck. You can get copies from Oracle's website or there is also a free compatible version from Adopt OpenJDK. The relevance of this is that the Oracle licensing terms mean you cannot use their copy without buying a license if this is for business purposes. (You can use Oracle's version free at home or for development only.)