Closing a particular java applpication - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hans
Posts: 11
Joined: Mon Mar 14, 2011 3:41 pm

Closing a particular java applpication

What is the step to close a particular Java application? (launched via java.exe or javaw.exe)

I do not wish to close all running Java processes, just the one for a particular app (during install, upgrade or uninstall)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Closing a particular java applpication

Hello Hans and welcome to the Advanced Installer Forums,

Please follow this article from our user guide.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hans
Posts: 11
Joined: Mon Mar 14, 2011 3:41 pm

Re: Closing a particular java applpication

thank you for a quick response.

However, how do I discern between several instance of java.exe?

I just want to close the one running "MyApp.jar"
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Closing a particular java applpication

Hello,

The Advanced Installer "Terminate Process" predefined custom action can only stop a process by its name.

You can launch the your java application from the Java Products page and set the launcher's name to your application's .JAR name.

Here is the tutorial from our user guide that can help you.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”