Jarfix worked, Thank you very much. I was going crazy.
I had uninstalled, restarted, made sure i had correct version, opened with the correct java, did so many things.Then it started to open cmd and close immediately and that's what jarfix help with.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.