Last active
September 23, 2023 16:34
-
-
Save DEARaison/ae81dfe3a8e286f8895fba19611b2dda to your computer and use it in GitHub Desktop.
Setting on Windows to run runable .jar file by double click
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assoc .jar=jarfile | |
ftype jarfile="C:\Program Files\Java\jre-versionxxx\bin\javaw.exe" -jar "%1" %* | |
:: ftype jarfile="C:\Program Files\Java\jre-12.0.2\bin\javaw.exe" -jar "%1" %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment