# Error running legacy launcher

**URL:** <https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816>\
**Category:** Ignition\
**Created:** [November 19, 2024, 9:19pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816 "2024-11-19T21:19:26Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 3:22pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/21 "2024-11-20T15:22:31Z")

</div>

Just an FYI. I tried to call tech support on 2 different numbers. Each time the auto attendant answers and says press to for support, it replies "Invalid entry" and after 3 attempts at pressing 2 is disconnects

---

<div class="post-metadata">

**Author:** ![Kevin\_Fessler](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Kevin\_Fessler](https://forum.inductiveautomation.com/u/Kevin_Fessler)\
**Post date:** [November 20, 2024, 3:52pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/22 "2024-11-20T15:52:14Z")

</div>

Hi, the phone number for IA Technical Support appears to be working as expected. Are you calling the main 1(800) 266-7798 number or a different one?

---

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 4:00pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/23 "2024-11-20T16:00:33Z")

</div>

Called the following

1 800 266-7798 and 1 919 456-1045. Just called 7798 number again from my cell phone and got the same invalid entry

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [November 20, 2024, 4:32pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/24 "2024-11-20T16:32:46Z")

</div>

There haven't been any added for a little while, the source of truth for the modules/package pairs that need to be included in the command line for a launch are in the gateway's `/lib/runtime/` folder under `client-XXX.conf` all of those need to be exposed to ALL-UNNAMED  
these should be the latest values:

```python
--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.tree=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED --add-exports=java.desktop/com.sun.awt=ALL-UNNAMED --add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED --add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED --add-exports=java.desktop/sun.awt.windows=ALL-UNNAMED --add-exports=java.desktop/sun.swing=ALL-UNNAMED --add-exports=java.desktop/sun.swing.plaf.synth=ALL-UNNAMED --add-exports=java.desktop/sun.swing.table=ALL-UNNAMED --add-exports=java.desktop/sun.print=ALL-UNNAMED

```

---

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 4:55pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/25 "2024-11-20T16:55:20Z")

</div>

Same error as before. Could not find this info on the gateway

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [November 20, 2024, 5:01pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/26 "2024-11-20T17:01:49Z")

</div>

Ok, so is this a gateway which is running java 11 and you are running java 17 in your script? if so that wont work

---

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 5:35pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/27 "2024-11-20T17:35:05Z")

</div>

Gateway is running Java 17.0.11+9-LTS  
Gateway version 8.1.42

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [November 20, 2024, 5:51pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/28 "2024-11-20T17:51:06Z")

</div>

and your JVM for the client?

---

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 5:57pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/29 "2024-11-20T17:57:20Z")

</div>

OpenJDK17U-jdk\_x86-32\_windows\_hotspot\_17.0.9\_9

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 20, 2024, 6:00pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/30 "2024-11-20T18:00:10Z")

</div>

Do two things:

1. run `legacyClient.bat` straight from the terminal, no args at all, show us the output. I just want to confirm you are running the right version
2. run the full command straight from the terminal, not indirectly from your other batch file. show us the command and the output

(  
by full command, I mean:

```python
legacyClient.bat http://192.168.2.200:8088 C Saw_Dust_Collector F C:\legacyLaunch\LaunchArgsIgnition.txt

```

)

---

<div class="post-metadata">

**Author:** ![lcs226](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lcs226](https://forum.inductiveautomation.com/u/lcs226)\
**Post date:** [November 20, 2024, 6:19pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/31 "2024-11-20T18:19:13Z")

</div>

I ran the command line that you posted and the client ran. I went back to my .bat file and replaced the command line with your code and it worked. I think the issue was my arguments.bat file was on the second line and not in a single line.

Thank you for you patience and assistance to get this resolved.

Chris

[Previous page](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816.md?page=1)
