Running .jar with Bash script

Discussion in 'Programming' started by sd_master92, Mar 19, 2020.

Thread Status:
Not open for further replies.
  1. Hi there!

    I'm currently trying to write a script to automate the BuildTools update process. Everything is working just fine, but there is one thing I don't understand...

    Code (Text):

    java -jar BuildTools.jar
    echo -e "Done!\n"

    java -jar spigot*.jar
    echo -e "Done!\n"
    The first time I print 'Done!', it does not show up. The second time it does.

    Why is that? Maybe because the buildtools jar is ran in the background?


    Thanks for helping!
     
Thread Status:
Not open for further replies.