Search code examples
javajarwar

Running java from its built Jar file (the alternative way)


IS there a non process blocking equivalent for the command :

Java -jar target/filename.war

Thanks


Solution

  • The below command would help

    nohup java -jar target/filename.war &
    

    output (console) will be available at nohup.out.