How to launch Java Client from a bat file
search cancel

How to launch Java Client from a bat file

book

Article ID: 251687

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Can I create a .bat file to launch the RunClient.jar?

Environment

Release : 9.4, 9.5

Component : APPLICATIONS MANAGER

Resolution

Create a .bat file such as shortcut.bat in the same directory as the RunClient.jar file.

In the .bat file, add the following line, save, and close:

start javaw -jar runclient.jar


The .bat file can be in any location but a path needs to be added to point to the location of the runclient.jar file. For example:

start javaw -jar C:\Users\pm\Desktop\Client\runclient.jar