# 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:** 20\
**Page:** 1

<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 19, 2024, 9:19pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/1 "2024-11-19T21:19:26Z")

</div>

I have a windows 7 32 bit machine that I need to load a client screen.

I installed OpenJDK17U-jdk\_x86-32\_windows\_hotspot\_17.0.9\_9, set the javahome, modified my .bat file .  
When I run the batch file I get  
Error Launching application:  
ValidationException: JPMS Module opens/export check failed! check your --add-opens and --add-exports clauses

I have not seen this error before when running on 32bit machines.

Any pointers Please.

---

<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 19, 2024, 9:29pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/2 "2024-11-19T21:29:55Z")

</div>

Try the changes mentioned in this thread: [Linux java 17 opens and exports - #2 by Kevin.Herron](https://forum.inductiveautomation.com/t/linux-java-17-opens-and-exports/83546/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 19, 2024, 10:19pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/3 "2024-11-19T22:19:54Z")

</div>

I tried the example show with my mods to suit as shown  
C:\legacyLaunch\legacyClient.bat [http://192.168.2.200:8088](http://192.168.2.200:8088) C Saw\_Dust\_Collector F  
C:\legacyLaunch\LaunchArgsIgnition.txt

Copied the entire contents of the txt file as shown to LaunchArgsIgnition.txt.

I still get the same error.

?????

---

<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 19, 2024, 10:28pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/4 "2024-11-19T22:28:05Z")

</div>

Did you make sure all the args are on a single line that is the first line of the args file? Does it work if you paste the args into the `javaArgs=` section of the batch file instead?

---

<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 19, 2024, 10:41pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/5 "2024-11-19T22:41:10Z")

</div>

> [@Kevin.Herron](#):
>
> javaArgs=

Thanks Kevin,

I did paste as a single line and it is the first line.

Unless I have an old version of legacyclient.sh, there is no line 'javaArgs=' in that file, so I do not know where to add it.

---

<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, 1:36am UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/6 "2024-11-20T01:36:26Z")

</div>

You referenced a .bat file in your original post, not a .sh file; which do you have?

---

<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, 2:40pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/7 "2024-11-20T14:40:06Z")

</div>

I have a batch file that contains the following

"C:\legacyLaunch\legacyClient.bat [http://192.168.2.200:8088](http://192.168.2.200:8088) C Saw\_Dust\_Collector F  
C:\legacyLaunch\LaunchArgsIgnition.txt"

Attached is a snapshot of the error

 ![JPMS error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/35a096e74777bdc8a00bf3c5994e5c7c47decd66.jpeg)

---

<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, 2:44pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/8 "2024-11-20T14:44:01Z")

</div>

> [@lcs226](#):
>
> legacyClient.bat

Can you upload the version of this file you are using?

---

<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, 2:47pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/9 "2024-11-20T14:47:14Z")

</div>

[legacyClient.doc](https://forum.inductiveautomation.com/uploads/short-url/juKyHPrxPaGq4623ZzPjaqb5Dco.doc) (3.2 KB)  
Changed the extension to .doc to allow for upload

---

<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, 2:49pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/10 "2024-11-20T14:49:00Z")

</div>

Okay, looks like an older version.

Try this one.

[legacyClient.txt](https://forum.inductiveautomation.com/uploads/short-url/8gGLGKEp9QSKCl9VUx6BVjKb5sQ.txt) (4.8 KB)

---

<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, 2:54pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/11 "2024-11-20T14:54:26Z")

</div>

Still get same error.  
Do I need to make any mods?

 ![Error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/b/6b73bf88ba0dde3e08e79e74d2ab6d6622774bff.jpeg)

---

<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, 2:56pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/12 "2024-11-20T14:56:30Z")

</div>

No, the arg file should have been enough. The older version you had didn't have support for the args file.

I'm out of ideas.

---

<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, 3:02pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/13 "2024-11-20T15:02:19Z")

</div>

Actually, one more thing to try.

See if this possibly updated string in the args file works:

```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, 3:02pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/14 "2024-11-20T15:02:32Z")

</div>

As I know nothing of Java, here is a snap shot of the error after changing the .bat file

 ![Error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/4/b4022adbec8d300d724d45e95393f818264a1ffc.jpeg)

---

<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:09pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/15 "2024-11-20T15:09:39Z")

</div>

Unfortunately that did not work either. Same error

---

<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, 3:10pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/16 "2024-11-20T15:10:04Z")

</div>

You'll probably need to give support a call and see if they can figure it out with a screen share or something.

@jcoffman are there any new opens/exports needed recently?

---

<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:11pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/17 "2024-11-20T15:11:34Z")

</div>

Ok, will give them a call. Thanks for the effort. Could my legacyclient.sh be old?

---

<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, 3:12pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/18 "2024-11-20T15:12:01Z")

</div>

Yours was, but I gave you a current one of the above posts. You started using that one instead right?

---

<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:13pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/19 "2024-11-20T15:13:31Z")

</div>

You sent me a newer .bat file that I am using, but not a .sh

---

<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, 3:13pm UTC](https://forum.inductiveautomation.com/t/error-running-legacy-launcher/98816/20 "2024-11-20T15:13:45Z")

</div>

You don't need the .sh file, you're using Windows.

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