在今天之前我一直以为不能使用eclipse输入命令行参数,所以我都是使用dos命令来输入命令行参数,但是后来才发现原来eclipse也是可以的,现在分享一下:

1、右击工程,Run As -> Run Configurations

在eclipse中输入命令行参数

2、在Arguments -> Program arguments处输入参数即可。

在eclipse中输入命令行参数
 注:以前使用的是dos命令窗口

在eclipse中输入命令行参数
 
 

相关文章:

  • 2021-07-25
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-16
  • 2022-01-07
  • 2021-12-12
  • 2021-12-11
  • 2022-12-23
  • 2022-01-18
  • 2021-04-06
相关资源
相似解决方案