jar window immediately closes on doubleclick

Solutions on MaxInterview for jar window immediately closes on doubleclick by the best coders in the world

showing results for - " jar window immediately closes on doubleclick"
Jean
28 May 2019
1If you have previously used the right click and opened with \path\to\your\javaw.exe then you will need to remove the following registry key.
2
3[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]
4
5Then run
6
7C:\>assoc .jar=jarfile
8C:\>ftype jarfile="C:\path\to\your\javaw.exe" -jar "%1" %*