The same trick can be used in search (Cortana). Press and hold Ctrl + Shift and click the pinned app's icon to run it as Administrator. This also works for pinned programs on the taskbar.
A simple alternative is to completely remove Java Runtime Environment and reinstall it to overwrite the faulty filetype association made by the archiving tool or other software. Other solutions also exist but are not quite recommended for inexperienced individuals. In case the problem persists, you can run Jarfix again. A small prompt appears to inform you that the operation is successful, also pointing out the location of the Java Runtime Environment program on your computer.Īs suggested in the prompt, things might not work as intended the first time, but this only depends on the application that’s taking control of the JAR file. However, you must have administrative permissions. The task is finished instantly and you don’t even need to restart your computer for JAR files to revert to their default form. Double-click the downloaded file to perform the fixup As such, you can also carry it around on an USB flash drive to restore the JAR filetype association on other computers that deal with this issue. A neat advantage that can be noticed right from the start is that you don’t have to go through any kind of trouble with an installer because this application can be run right after download. Users might even think that the JAR program in question is not functional just because it seemingly cannot be opened with Java.Īs mentioned above, you can rely on Jarfix to solve this issue.
In such cases, it becomes difficult for users to open JAR files with Java, unless they know how to fiddle with the Windows settings to manually change the filetype association.
Fix errors made from incorrect filetype associations The problem is that some archiving utilities assume that you use JAR files to compress files into archives and, after installing these archiving utilities, they get automatically associated with JAR files, thus overwriting Java. Also, Java Runtime Environment must be installed on the computer in order to run Java apps. JAR files are nothing more than special executable files created by Java, which come bundled with a variety of classes and functions to make the dedicated program work. Restore the JAR filetype association with Java The one in question here is JAR, which can easily get associated with another type of program, thus making it impossible for users to launch JAR applications by just double-clicking these files. However, some applications are dedicated to modifying other types, and file formats are abundant, even for a single type of file. Setup installers for Windows applications are usually wrapped in an EXE file.