java基础

1.在cmd下执行set classpath=.。把解释器用在当前目录。

也可以

推荐第二种。

classpath定义类的加载路径,点表示当前路径加载

原文地址:https://www.cnblogs.com/norm/p/6917220.html