答案 0 :(得分:0)
使用" jps":http://docs.oracle.com/javase/7/docs/technotes/tools/share/jps.html
> jps -l
5334 scala.tools.nsc.MainGenericRunner
5853 sun.tools.jps.Jps
5838 /home/reza/.i/tools/sbt-0.13.9/bin/sbt-launch.jar
也许这些问题对您有所帮助: How to execute "jps'' command on Windows 8?和How to set java_home on Windows 7?