getting error using FPlatformProcess::CreateProc() to open a JAR file

I need to open a .jar file with a button through unreal and using system() worked but has some issues with the CMD opening up not closing, opens minimized and doesn’t let me close unreal app on opening the other app.
So I used FPlatformProcess::CreateProc() as in the screenshot attached. However, It works fine on exe files but does not work with Java .jar files, It gives me an error that I attached here in the second screenshot. Please let me know if I am using the function in a wrong way or if there is a solution to this problem.
I am using UE 5.0.0-1 EA not 4.

Thank you.

Hi there @Samak97

UE tends to use / instead of \\

Just to make sure

can you try

D:/Work/Archrete/Bridge/Mario.jar

And similar for your JDK path

so your final result is a / version of javaw.exe -args

where args = / version of mario.jar as above

:heart:

Rama