Sometimes the only way things ever got fixed is because people became uncomfortable.
why does not work correctly if I just click to the .jar file?
Beata Szabo-Takacs wrote:I used cmd and I applied the command line as you posted. It works correctly. But I do not understand why does not work correctly if I just click to the .jar file?
Beata Szabo-Takacs wrote:Dear Norm,
Thank you so much for your suggestion. It works correctly. What do you think I should set the path of the environment variables as C:\Program Files\Java\jdk1.8_151\bin\java.exe?
Sometimes the only way things ever got fixed is because people became uncomfortable.
what Java's registry entries are good for,
Sometimes the only way things ever got fixed is because people became uncomfortable.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\jarfile]
@="Executable Jar File"
[HKEY_CLASSES_ROOT\jarfile\shell]
[HKEY_CLASSES_ROOT\jarfile\shell\open]
[HKEY_CLASSES_ROOT\jarfile\shell\open\command]
@="\"C:\\Program Files\\Java\\jre6\\bin\\javaw.exe\" -jar \"%1\" %*"
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|