java - Script goes to bash then back to script a few times before running -
i have binary file (saved dpl
) made shc. here simple source file:
#!/bin/bash java -jar /users/eli/documents/dpl.jar $@
it should run jar program arguments. works fine, except there few seconds of delay on startup. noticed in title bar of terminal (os x) switches dpl
bash
dpl
bash
few times, until switching java
, running jar. don't understand going on here.
edit: additionally, actual java program seems slowed down effect.
edit2: need binary file can use shell interpreter (#!/usr/bin/dpl
)
try saving .sh file , giving executable permission.
chmod +x <your file>.sh
Comments
Post a Comment