怪我咯2017-04-18 10:46:08
Generally, you need to use the account that starts the application to execute the jps command, and use jps in the same version of jdk.
PHP中文网2017-04-18 10:46:08
Addition to the one above:
If the environment variables of the two users are different, then the jps command you execute is not the same command. Maybe there are two versions of jdk, which are like two containers that are unrelated to each other.