bash - How can I run java file with parameters on linux? -
i want write .sh script on linux. in .bat file write :
@echo off start .\jre7\bin\javaw.exe -jar .\my.jar myfirst_p mysecond_p exit
how can in linux?
in unix/linux do:
/full/path/to/java -jar my.jar myfirst_p mysecond_p &
Comments
Post a Comment