Show HN: Jeval allows to run Java scripts as ordinary executable files With new version of jeval we added support for shebag (#!) directive which is available in Unix-like operating systems. It allows to run scripts written in Java without calling jeval. Instead of: jeval script.java You can run it directly as ordinary executable file: ./script.java For that to work you need to put following line as a first line of script.java: #!/usr/bin/env jeval And make file executable: chmod u+x script.java https://ift.tt/3wwgiVl October 25, 2021 at 10:00PM
Comments
Post a Comment