M HYPE SPLASH
// news

Cannot delete .jar file association in Windows 7

By Emma Terry
C:\Windows\system32>assoc .jar
File association not found for extension .jar
C:\Windows\system32>ftype jarfile
File type 'jarfile' not found or no open command associated with it.

When I double click on .jar file I get "Could not find the main class" error indicating that there is a wrong association. Why is that?

3

1 Answer

Go to Control Panel, Add Remove Programs, chances are pretty good you will see multiple versions of Java(TM). Older versions do not play well with latest update. Remove older versions and retest

EDIT - In that case i suggest downloading JarFix

A solution to restore the .jar file association to the Java Runtime Environment

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy