在运行Java代码时, 选择运行 Run AS java , 出现 java Run to Line, 是因为程序还在运行,没有停止。在控制,点击右键。terminate 结束,在Run AS java重新运行。