Answers for ".jar window immediately closes on doubleclick"

0

.jar window immediately closes on doubleclick

If 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.

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]

Then run

C:\>assoc .jar=jarfile
C:\>ftype jarfile="C:\path\to\your\javaw.exe" -jar "%1" %*
Posted by: Guest on November-14-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language