Remove all java versions you may have, reinstall latest and try. DO NOT set program manually in any way., it's f*cked up. If this doesnt work, let me know so I can check for your problem.
You are a lovely lovely person.
So tried that, this is the error I got
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Users\NAMEHIDDEN\Desktop\Test\NG.jar]
at jdk.javaws@10.0.1/com.sun.javaws.Main.prepareLaunchDesc(Unknown Source)
at jdk.plugin@10.0.1/sun.plugin2.main.WebStart.launchApp(Unknown Source)
at jdk.plugin@10.0.1/sun.plugin2.main.WebStart.continueInSecureThread(Unknown Source)
at jdk.plugin@10.0.1/sun.plugin2.main.WebStart.access$000(Unknown Source)
at jdk.plugin@10.0.1/sun.plugin2.main.WebStart$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: File too large
at jdk.javaws@10.0.1/com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
... 6 more