Home Java process still running
Reply: 0

Java process still running

user366
1#
user366 Published in April 22, 2018, 6:52 am

I'm using a method in shell script to execute a jar file.

function executeJar(){
 java -cp $BASE_PATH"myjar.jar":$CLASSPATH/* com.sample.main.App config.json
}

Even after the jar completes execution, the java process is still active and not getting killed. Should i kill it manually ? What is a solution for this.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.299872 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO