The "[dspace]/bin/dspace classpath" CLI command was added in DSpace 1.7 and subsequently broken in 1.8 as the commits below show. Since then it does nothing but throw an error:
$ /dspace/bin/dspace classpath
Exception in thread "main" java.lang.NullPointerException
The removed code should be re-added to restore this functionality.