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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -