Mikhail
Posts: 6
Joined: Wed Apr 18, 2018 12:24 am

Restart running Java application.

Hi.
How to restart running Java application?
We want user has opportunity to restart application with new JVM parameters to set UI scaling factor for 4K monitor.
I guess we need to have paths to embedded JRE and application jars.
Any suggestions?
Thank you.
Mikhail
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Restart running Java application.

Hello Mikhail,

In order to terminate a process, you can use our "StopProcess" custom action. For more information about this, you can check the following article:

https://www.advancedinstaller.com/user- ... op-process

To deploy an application, you can use a "LaunchFile" custom action. For more information about this, you can have a look on the following article:

https://www.advancedinstaller.com/user- ... aunch-file

Please let me know if there is anything else I could help you with.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mikhail
Posts: 6
Joined: Wed Apr 18, 2018 12:24 am

Re: Restart running Java application.

Hi Catalin.
Thank you for quick answer and references.
I will try to understand.
Regards.
Mikhail
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Restart running Java application.

You're always welcome, Mikhail.

I am glad I could be of help.

If there is anything else I could help you with, just let me know.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”