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

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -