# Ignition Project Launcher Jar

**URL:** <https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795>\
**Category:** Ignition\
**Created:** [February 4, 2013, 2:04am UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795 "2013-02-04T02:04:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [February 4, 2013, 2:04am UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/1 "2013-02-04T02:04:27Z")

</div>

We have done many projects where we needed the ability to have both the server and the client run off the same machine. Operations always wants the project to run on start-up. Linking to the java shortcut doesn’t work, because the service has not started yet.

My solution is this jar file. Place it in your shortcut folder, or make it run when the window manager starts for Linux. When the file initially runs, it will create a file called launch.properties. Edit this to suit your environment.

The file will need the following properties  
launchJar=Path to launch.jar. Will try to find it in default locations, but you can edit this if you have a non-standard install  
httpsPort=HTTPS port of Ignition service  
host=Hostname of Ignition server, either as a hostname or IPv4 address.  
project=The project name  
httpPort=HTTP port of Ignition service

Any suggestions, please let me know.

[launcher.jar](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8dc0a1a317f4324d403d10e82cbf0f9b3aaee726.jar) (55.1 KB)

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 4, 2013, 12:15pm UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/2 "2013-02-04T12:15:13Z")

</div>

Sweet! Thanks, Kyle. I have a few HMI’s I’m sticking together. I’ll stick this in and let you know how it goes. 🙂

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 4, 2013, 12:26pm UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/3 "2013-02-04T12:26:43Z")

</div>

Oh yeah, was going to mention that some sample entries for the launch.properties file may be beneficial.

---

<div class="post-metadata">

**Author:** ![pphillips](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pphillips](https://forum.inductiveautomation.com/u/pphillips)\
**Post date:** [February 6, 2013, 7:40pm UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/4 "2013-02-06T19:40:07Z")

</div>

Thanks a lot for this, Kyle. I had just posted on Ignition Design Help on Friday asking if anyone had something like this.

I’m running a Vision Panel Edition on Ubuntu 12.04. Took me a few tries, but here is an example that worked for me on the launch.properties file. (BTW, this file got generated in the ~/.ignition directory after running the launcher.jar file from the Archive Manager with Java Runtime):

```auto
launchjar=/usr/local/bin/ignition/lib/core/launch/launchclient.jar
httpsPort=8083
host=localhost
project=project_name
httpPort=8088
```

I’m using Unity, so in the StartUp Manager, I added an application start-up program with the command:

```auto
java -jar /path/to/launcher.jar
```

That’s it! I’ll try this later with regular clients with a separate Gateway.

---

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [March 7, 2013, 5:10pm UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/5 "2013-03-07T17:10:50Z")

</div>

I’m having the same issue trying to run .jnlp on Startup, running the gateway and client on same XP machine.

It fails to load initially but if I want a minute or two it loads good.

What would I need to do to get this working on Windows machine?

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [March 11, 2013, 6:51pm UTC](https://forum.inductiveautomation.com/t/ignition-project-launcher-jar/5795/6 "2013-03-11T18:51:17Z")

</div>

Place the file, or a shortcut to the file, in your startup menu. On first run, it will create a file called %USERPROFILE%/.ignition.launch.properties. Fill in the information in that file, and it should work fine.
