The manufacturer only provides all compiled class files (no package), and my existing program has packages.
The current situation is that the compiled unpackaged class file can only be called by placing the calling code in the root directory, and it is always not compiled when the code is placed in a class under the package.
Not in the same directory, of course, you can't call it. The manufacturer does not provide a package, you package it yourself.
After packaging, add it to the CLASSPATH and import it.