首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 简单的bat文件,使用当前安装JDK编译和运行java文件单。

简单的bat文件,使用当前安装JDK编译和运行java文件单。

  • 资源大小:273.00 B
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java compile batch DOS run

资 源 简 介

Using current JDK installation (PATH must be configured to access javac.exe and java.exe), this BAT file compiles the source code of a single JAVA file and then run it. It was created to use with notepad++, using run option (F5) and filling the field "Program to run" with this: C:somepathdosrunjava.bat "$(FULL_CURRENT_PATH)" Also works from simple "cmd": c:somepathdosrunjava SomeCode.java The program is small, so this description is much larger than the code.
VIP VIP
0.260890s