The error "NoClassDefFoundError: com/sun/javadoc/Doclet" is based on the fact that the java jdk 19 doesn't have the Sun based Javadoc. It is replaced by jdk.javadoc which can be found in the "src.zip" file in jdk 19 lib folder.
I suspect that version v1.13 makes a distinction between the compiler version of the B4A/B4J program (version 19 in your case) and the Java 1.8 compiler for the required XML file.
You need to use current version v1.13 of SLC which have an option to define the location of your jdk 1.8 compiler to create the required xml documentation file which is created with the Java 1.8 compiler who have included the missing com/sun/javadoc/Doclet: