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

您现在的位置是:虫虫源码 > Java > javashellscript -工具运行java程序的shell脚本

javashellscript -工具运行java程序的shell脚本

  • 资源大小:18.04 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: java shell 程序 脚本 工具 运行

资 源 简 介

JavaShellScript is a tool to run small Java programs as shell scripts. How jss works With jss (short for JavaShellScript) you can run java programs, without compiling them, directly as if they were shell scripts. jss will compile the Java-file and save the class file in a cache. When you call the Program the next time, jss will run the cached class file, if the source file isn"t changed. You can use jss with every Java program. The only thing you need to do is to add a Shebang line to your source code. The file don"t need to have the .java suffix. A "Hello World" sample First create a file sample.java with the following content #!/usr/bin/env jsspublic class sample { public static void main(String[] args) { System.out.println("Hello World!"); }} Make the file executable: chmod +x sample.java Run the prog

文 件 列 表

jss
jss
jss.conf
lib
samples

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP