lcs226
November 19, 2024, 9:19pm
1
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.
lcs226
November 19, 2024, 10:19pm
3
I tried the example show with my mods to suit as shown
C:\legacyLaunch\legacyClient.bat 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.
?????
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?
lcs226
November 19, 2024, 10:41pm
5
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.
You referenced a .bat file in your original post, not a .sh file; which do you have?
lcs226
November 20, 2024, 2:40pm
7
I have a batch file that contains the following
"C:\legacyLaunch\legacyClient.bat http://192.168.2.200:8088 C Saw_Dust_Collector F
C:\legacyLaunch\LaunchArgsIgnition.txt"
Attached is a snapshot of the error
lcs226:
legacyClient.bat
Can you upload the version of this file you are using?
lcs226
November 20, 2024, 2:47pm
9
legacyClient.doc (3.2 KB)
Changed the extension to .doc to allow for upload
Okay, looks like an older version.
Try this one.
legacyClient.txt (4.8 KB)
lcs226
November 20, 2024, 2:54pm
11
Still get same error.
Do I need to make any mods?
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.
Actually, one more thing to try.
See if this possibly updated string in the args file works:
--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
lcs226
November 20, 2024, 3:02pm
14
As I know nothing of Java, here is a snap shot of the error after changing the .bat file
lcs226
November 20, 2024, 3:09pm
15
Unfortunately that did not work either. Same error
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?
lcs226
November 20, 2024, 3:11pm
17
Ok, will give them a call. Thanks for the effort. Could my legacyclient.sh be old?
Yours was, but I gave you a current one of the above posts. You started using that one instead right?
lcs226
November 20, 2024, 3:13pm
19
You sent me a newer .bat file that I am using, but not a .sh
You don't need the .sh file, you're using Windows.