Can't open a .jar file by double clicking Windows 10

I can't get JAVA .jar files to run by double clicking on my Windows 10 computer.  They will open when run in the CMD, so I believe there is not a problem with the files.  The jar files run perfectly on my 2 Windows 7 computers.  The jar files are examples included with Netbeans.

All 3 computers are 64-bit and all use the same JRE.  I have deleted and re-installed the JRE 3 times.  I have checked file associations, default programs and have looked in the registry and have cold booted many times.

 

I have searched the internet for 3 days and have not yet found any ways to get this to work.

What now do I do or try to get jar files to run by double clicking in Windows 10?

Hi John,

Thank you for your interest in Windows 10. 

We understand how you feel about the situation. We're sorry for the trouble. 

Please try the following steps and check if it works.

Uninstall and reinstall the latest version of Java on your system and check if that works.

Refer the following link for help.

http://java.com/en/download/

Refer the following link for additional information.
http://java.com/en/download/help/windows_manual_download.xml

In case of further assistance please contact us, we are glad to assist you.

Thanks

Pavan N

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

No, this did not work. I uninstalled and reinstalled 2 more times.

If the program runs in the CMD but will not when double clicked, it seems like the correct data (parameters) is not being passed along when double clicking.

Here's the command I use to run the program in the CMD:  java -jar DigitalClock.jar

What should I try next?

14 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated August 6, 2024 Views 3,066 Applies to: