Скачать jarfix для windows 10 64 bit

If you double-click on a jar file, and your Java application does not start, your .jar association has been hijacked. You can fix the problem with Jarfix.The root cause of the...

Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:

Freeware

Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).

Open Source

Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.

Free to Play

This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.

Demo

Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.

Trial

Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.

Paid

Usually commercial software or games are produced for sale or to serve a commercial purpose.

Fix the file type association for .jar extension»

JAR files are rare, but you want to use them when you have one that needs to be opened. You cannot open .jar files when is not associated with a right program. When you have an anti-malware and anti-spyware enough may not offer full protection. For the Java programming language which is a .jar file extension. Just in case it is hijacked you must have a specific tool like Jarfix.

Easy use

It is this tool which comes in handy to handle any issue by first identifying the problem and also get to the root cause. Although some of the function un virtually, you can have some which you will always get a report of the progress. It is a tool with a Java environment with a .exe file extension.

Just run the executable file and will fix the problem.

This is a tool which needs programming knowledge to deal and handle it. Although novices can opt for the help file, it becomes cumbersome to deal with it. The interface has a visual impression which is ideal for beautification purposes. In fact, you can just opt to check on the available template to have a view of what happens when it comes t programming.

Jarfix is licensed as freeware for PC or laptop with Windows 32 bit and 64 bit operating system. It is in system miscellaneous category and is available to all software users as a free download.

Share
Give a rating

1 vote, average: 4.00 out of 51 vote, average: 4.00 out of 51 vote, average: 4.00 out of 51 vote, average: 4.00 out of 51 vote, average: 4.00 out of 5 (1 votes, average: 4.00 out of 5)
login to vote

Loading…

Author
Johann N. Löfflmann


Last Updated On
February 22, 2018
Runs on
Windows 10 / Windows 8 / Windows 7 / Windows Vista / XP
Total downloads
5,413
License

Free

File size
68,39 KB
Filename

jarfix.exe

На чтение 7 мин. Просмотров 19.7k. Опубликовано 03.09.2019

Многие веб-сайты используют Java для предоставления вам определенных функций. Помимо веб-сайтов, Java и Java-приложения могут также запускаться на вашем ПК локально.

Java-приложения сохраняются в виде jar-файлов, но многие пользователи сообщают, что jar-файлы не открываются в Windows 10. Хотя это может быть большой проблемой, но есть способ ее исправить!

Содержание

  1. Файлы JAR не открываются в Windows 10 – как мы можем это исправить?
  2. Исправлено – файлы Jar не открываются в Windows 10
  3. Загрузите этот инструмент, мы настоятельно рекомендуем

Файлы JAR не открываются в Windows 10 – как мы можем это исправить?

Исправлено – файлы Jar не открываются в Windows 10

Решение 1. Переустановите или обновите Java Runtime Environment .

Если вы не можете запустить jar-файлы на ПК с Windows 10, возможно, вам придется переустановить Java Runtime Environment. Для этого выполните следующие действия:

  1. Нажмите Windows Key + I , чтобы открыть приложение «Настройки».
  2. Когда откроется Приложение настроек , перейдите в раздел Система . Теперь выберите Приложения и функции на левой панели.
  3. Найдите Java в списке и выберите вариант Удалить .

После этого перейдите на веб-сайт Java и загрузите последнюю версию программного обеспечения.

После установки проверьте, решена ли проблема. Имейте в виду, что удаление предыдущей установки Java не обязательно, поэтому вы можете пропустить этот шаг и просто установить последнюю версию поверх.

Java также будет автоматически проверять наличие обновлений, и если обновления будут доступны, вы получите уведомление.

Чтобы обновить Java, просто нажмите на уведомление и выберите параметр Обновить . Теперь следуйте инструкциям для завершения обновления.

Загрузите этот инструмент, мы настоятельно рекомендуем

Вы можете открывать файлы .jar и другие сотни различных форматов с помощью одного приложения. FileViewer Plus 3 – это универсальный просмотрщик файлов для Windows, который может открывать и отображать более 300 различных типов файлов. Вы также можете редактировать текстовые и графические файлы. Скачайте его бесплатно с официального сайта или купите по доступной цене.

  • Загрузить сейчас FileViewer Plus 3

Решение 2. Установите сопоставление файлов

Файлы Jar не могут быть запущены на вашем компьютере, если у вас нет соответствующих ассоциаций. Например, файлы JAR могут быть связаны для запуска с другими приложениями, или они могут полностью не иметь ассоциации файлов.

Если ситуация последняя, ​​вы не сможете запускать jar-файлы на вашем ПК. Однако вы можете легко решить эту проблему, изменив сопоставление файлов для файлов JAR. Для этого выполните следующие действия:

  1. Откройте Настройки приложения . Перейдите в Систему> Приложения по умолчанию .
  2. Прокрутите страницу до конца и выберите Выбор приложений по умолчанию по типу файла .
  3. Найдите тип файла .jar и выберите приложение по умолчанию.

Этот метод предлагает ограниченные возможности, и вы можете выбирать только приложения, распознаваемые Windows 10. К счастью, есть другой способ, который вы можете попробовать. Чтобы изменить ассоциации файлов, выполните следующие действия:

  1. Нажмите Windows Key + X , чтобы открыть меню Win + X, и выберите Панель управления из списка.
  2. Когда откроется Панель управления , выберите Программы по умолчанию .
  3. Нажмите Связать тип файла или протокол с программой .
  4. Найдите файл .jar в списке и дважды щелкните его.
  5. Появится список предлагаемых приложений. Нажмите Другие приложения .
  6. Прокрутите весь путь вниз и выберите Найдите другое приложение на этом ПК .
  7. Найдите файл javaw.exe . По умолчанию приложение должно находиться в папке Program Files. Выберите приложение и выберите его по умолчанию для файлов .jar.
  8. Необязательно: Некоторые пользователи рекомендуют изменить параметры javaw.exe . Для этого просто найдите файл и создайте его ярлык. Нажмите его правой кнопкой мыши и перейдите в Свойства . Теперь найдите файл Target и добавьте –jar «% 1»% . Обязательно выберите этот недавно созданный ярлык в Шаг 7 .

Вы также можете изменить сопоставление файлов, щелкнув правой кнопкой мыши файл JAR и выбрав Открыть с помощью> Выбрать другое приложение . После этого выполните шаги с 5 по 8, описанные выше.

Обнаружены проблемы с ассоциацией файлов Windows? Не беспокойтесь, мы вернулись с этим руководством!

Решение 3 – используйте Jarfix

Если вы не можете открыть файлы JAR в Windows 10, вы можете решить проблему с помощью Jarfix. Как упоминалось ранее, эти типы проблем могут возникать из-за ассоциации файлов, но вы можете легко исправить их с помощью этого простого приложения.

Для этого выполните следующие действия:

  1. Скачать Jarfix.
  2. Запустите приложение и следуйте инструкциям на экране. Имейте в виду, что вам нужно запустить это приложение от имени администратора, чтобы оно работало должным образом.

После использования этого приложения вы сможете запускать файлы JAR в Windows 10 без каких-либо проблем.

Решение 4. Создайте файл .bat

По словам пользователей, вы можете запускать JAR-файлы в Windows 10 с помощью этого простого обходного пути. Это решение требует, чтобы вы создали файл .bat и использовали его каждый раз, когда хотите запустить определенный файл JAR.

Процесс довольно прост, и вы можете сделать это, выполнив следующие действия:

  1. Найдите свой файл JAR. В этой же папке создайте новый файл Блокнот . Для этого щелкните правой кнопкой мыши пустое место в каталоге и выберите Создать> Текстовый документ .
  2. Когда откроется Блокнот , введите java -jar filename.jar . Обязательно замените filename.jar на фактическое имя файла.
  3. Перейдите в Файл> Сохранить как .
  4. Установите для Сохранить как тип значение Все файлы . Теперь введите желаемое имя для файла. Помните, что вам нужно иметь .bat в качестве расширения, иначе решение не сработает. Сохраните файл в том же месте, где находится ваш jar-файл.

После этого найдите файл .bat и дважды щелкните по нему. Ваш файл JAR откроется. Имейте в виду, что вам нужно повторять этот процесс для каждого файла JAR, который вы хотите запустить на вашем компьютере.

Кроме того, обязательно сохраните файл .bat в том же месте, где находится файл JAR.

Решение 5. Переместите файл JAR в корневой каталог и запустите его с помощью командной строки .

По словам пользователей, вы можете запускать JAR-файлы в Windows 10 просто с помощью командной строки. Для этого найдите файл jar и переместите его в корневой каталог, например, C .

После этого вам необходимо выполнить следующие шаги:

  1. Нажмите Windows Key + X и выберите в меню Командная строка (Администратор) .
  2. Когда откроется Командная строка , введите следующие команды:

    • компакт-диск
    • java -jar filename.jar

После этого ваш файл jar должен открыться без проблем. Помните, что вам не нужно перемещать файл JAR в корневой каталог, но благодаря этому вы сможете быстрее получить доступ к файлу.

Если вы решите не перемещать файл, вам нужно использовать команду cd , чтобы перейти в каталог, где находится файл jar.

Кроме того, вы можете ввести java -jar и указать путь к файлу jar. Это не лучшее решение, но это надежный обходной путь, поэтому не стесняйтесь его пробовать.

Работа в командной строке будет похожа на прогулку по парку после прочтения нашего руководства!

Решение 6 – используйте JAR Runner

JAR Runner – еще одно бесплатное приложение, которое может помочь вам открыть файлы JAR в Windows 10. Просто скачайте и установите этот инструмент и перетащите файл JAR в файл JAR Runner .exe.

Кроме того, вы также можете открыть JAR-файлы с помощью JAR Runner. Это простое и бесплатное приложение, поэтому обязательно скачайте JAR Runner.

Решение 7. Проверьте правильность вашего расширения .

Если вы не можете открыть загруженный файл JAR, вам необходимо проверить его расширение. Некоторые веб-браузеры могут не сохранять файлы JAR должным образом, поэтому вам нужно проверить их расширение.

Для этого выполните следующие действия:

  1. Найдите проблемный файл JAR в проводнике.
  2. Перейдите в меню Вид и выберите Расширения имен файлов .
  3. Теперь проверьте, имеет ли ваш файл jar расширение .jar в конце. Если нет, переименуйте файл и измените расширение на .jar .
  4. После этого попробуйте снова запустить файл.

Если эта проблема не устранена, вы можете проверить свой браузер.Иногда он может загружать файлы JAR неправильно и может вызвать эту проблему.

Чтобы исправить это, обязательно используйте другой браузер для загрузки файла и проверьте, решает ли это проблему.

Файлы JAR, не открывающиеся в Windows 10, могут быть большой проблемой, особенно если вы часто используете приложения Java. Тем не менее, вы сможете решить проблему, просто воспользовавшись одним из наших решений!

Дайте нам знать, если один из них работал для вас в комментариях ниже!

Узнайте, как запускать jar-файлы, как эксперт, с нашим полным руководством!

Примечание редактора . Это сообщение было первоначально опубликовано в апреле 2017 года и было обновлено и обновлено для обеспечения свежести, точности и полноты. Мы хотим быть уверены, что в нашем списке представлены лучшие продукты, которые будут соответствовать вашим потребностям.

Jarfix 3.0.0 Download — это бесплатный инструмент для разработчиков Jaya и других, которые регулярно запускают файлы .jar, но обнаруживают, что расширение перехватывается другими приложениями. Jarfix Download проста в использовании и совершенно бесплатна. Это 100% безопасный и легкий. Вы можете получить решение, когда на вашем компьютере не запущена поддержка Jarfix файла Java для открытия элементов с расширением .jar.

Просто этот инструмент позволит вам получить доступ и использовать файлы JAR, которые ранее были недоступны или недоступны. При попытке установить программное обеспечение на свой компьютер вы можете столкнуться с ситуациями, если используются файлы формата JAR.

В большинстве случаев эти приложения будут в формате EXE, что упрощает установку. Однако, когда вы хотите запустить файл JAR, вы можете столкнуться с проблемами, когда эти файлы недоступны.

Что такое файл .jar

.jar & nbsp; — это формат файла пакета. Это связано с другим & nbsp; агрегированием и совместным использованием нескольких файлов классов Java , а также метаданных и ресурсов. Файлы манифеста, специфичные для Java, представляют собой архивы файлов .jar. Это в основном построило формат ZIP с расширениями файлов .jar.

Чем занимается Jarfix?

Jarfix — это бесплатный инструмент, простая и полезная программа. Легко скачать и установить.

Jarfix помогает восстановить связь .jar со средой выполнения Java. Среда выполнения java соединяется с Java Development Kit и виртуальной машиной Java, чтобы создать лучшую трио Java-платформ для запуска и разработки Java-приложений.

При первой установке среды выполнения Java файлы .jar должны быть назначены и запущены инструментом javaw.exe в рабочем состоянии. Jarfix — это простое приложение, которое занимает менее 1 МБ дискового пространства.

Плюсы и минусы Jarfix

Плюсы

  • Легкая программа.
  • Бесплатная загрузка
  • Низкое использование ЦП.
  • Небольшой объем памяти.
  • Маленький файл размер.
  • Легко использовать.
  • Вы можете настроить поведение программного обеспечения с помощью дополнительных параметров.

Минусы

  • Не всегда решает проблему.
  • Не поддерживается на MAC-устройстве.
  • В Windows можно исправить расширение .jar изначально.
  • Необязательные параметры требуют знания интерфейса командной строки или Windows.

Требование для Jarfix

В основном требуется Windows. Базовая операционная система должна быть:

  • 95/98 / ME / NT
  • 2000/2003/2008
  • Windows XP / Vista / 7/8/10

Jarfix недоступен для Mac. Jarfix сообщит вам, где можно загрузить среду выполнения Java, если она еще не установлена.

Как загрузить и установить JAVA JDK

JarFix — это решение, позволяющее не открывать исправление файла .jar. Эти проблемы возникают из-за установки файла JAVA.

  1. Загрузите файл Java JDK для сжатого архива Windows x64.
  2. Теперь выберите место для сохранения файла.
  3. Затем автоматически загрузите Java SDK для вашего ПК. < / li>
  4. После завершения загрузки попробуйте установить его.
  5. Если файлы .jar не открываются, вам необходимо загрузить Jarfix для своего ПК.

Как загрузить Jarfix для ПК

Если вы не можете открыть файл с расширением .jar, вам необходимо исправить компьютер с помощью Jarfix Optifine Download. следуйте инструкциям, чтобы правильно загрузить инструмент Jarfix 3.0.0

  1. Откройте свой любимый веб-браузер.
  2. Перейдите на страницу & nbsp; Jarfix Download & nbsp;
  3. Вы можете увидеть кнопку «Загрузить» вверху Страницы. Затем щелкните по нему.
  4. Выберите место для загрузки файла.
  5. После загрузки Jarfix самое время запустить его.

Как использовать Jarfix для восстановления файлов .jar на вашем ПК

После загрузки Jarfix Tool вам необходимо запустить его и использовать. На самом деле, это действительно просто. следуйте инструкциям ниже.

  1. Найдите загруженный инструмент Jarfix.
  2. Просто дважды щелкните значок jarfix.
  3. Теперь он откроется и автоматически запустит инструмент на вашем ПК.
  4. Теперь вы можете увидеть всплывающее сообщение «Суффикс .jar (архив Java) успешно зарегистрирован. Java-приложения, упакованные в Jar, можно снова запустить двойным щелчком ».

Это означает, что файлы .jar теперь полностью исправлены на вашем компьютере.

Часто задаваемые вопросы (F.A.Q):

Безопасен ли Jarfix EXE?

Да, это на 100% безопасно для скачивания. Jarfix Download — безопасная программа для использования на вашем компьютере. Обычно браузер Google Chrome сканирует файл, загружаемый из Интернета. Но у вас нет проблем, потому что Google Chrome позволяет вам загрузить этот файл на свой компьютер.

Jarfix — это не вирус. Это легкий инструмент с небольшим объемом памяти и низкой загрузкой ЦП.

Jarfix is the free tool, which helps to fix the problem in jar extension file in Java runtime environment. If the PC does not run the java file means we need to associate again properly. 

Features:

  • Jarfix is freeware. no need to register and pay for it. 
  • Jarfix fix the jar association with the Java runtime environment
  • Jarfix is used in different OS.
  • Jarfix fixes problems without any need of parameter. 
  • Simple and lightweight program with 1MB.
  • Jarfix is useful for JAVA developers. 
  • Lightweight software.
  • It’s easy to use. 
  • It’s completely free.

Jarfix is a lightweight software. This software is used widely to fix the problem in jar file hijack. When we try to open the jar extension file, sometimes it gets hijacked. the extension did not open and the java extension did not run. so we need to reinstall the application or recaptured. But by using the Jarfix we can fix the problem in the jar file in the java runtime application. 

Free tool that helps for recapture of jar association.

The causes of the problem above are, the application stolen the .jarassociation. if we run the java application for the first time means, the file type will be assigned correctly. On Windows, any file can steal any program even if already associate with the file to the program. so we need to fix the problem properly. for fixing the problem in jar extension, the jarfix which is the problem fixer used. 

It’s very easy to handle. It’s very reliable and trustworthy, it’s widely used in the Java developer association. This Jarfix application is completely free. There is no additional parameter needed to run the application. But there are some optional parameters, we can use while running the program. It adds some additional features to the program like running without dialogue, opening the help file, running with permission and fixing the problem for one user. 

USER REVIEWS AND COMMENTS

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Owen


Jarfix is a Windows software product that is essential for recapturing jar associations and works with Java. If your device does not carry Java files then associations may need to be individually and separately. It is lightweight and widely used for associations in a simple and easy manner in their assignment. This is recommended for anyone who works with recapturing in their projects.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Archie


I had an issue where whenever I tried to run Java files, it simply wouldn’t run. I was recommended to try to re-associate .jar files with Java Runtime Environment, because .jar can be opened by other applications, which might be why the Java files weren’t running. I used Jarfix for this and it solved that problem really well, so if you have this same problem, I recommend using this tool, and it’s free too.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Cameron


Jarfix for Windows is a very useful software package for all types of software developers who use java based applications. This program allows for the use of the .jar file types, which are often hard to open with conventional software packages. This allows for the sharing and managing of java files. The program is free to download and very easy to install, making it accessible to all levels of expertise from many users. It is also designed to require very little memory and CPU usage while it is open.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Alexander


Jarfix for Windows was created to fix problems with JAVA apps. This software is free and there is no registration required. Another plus is that it is only 1mb in size. This is a very helpful program for JAVA designers and is highly recommended for it’s ease of use. The program is trustworthy and has been found to run well.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Lewis


I love it! First of all, Jarfix for Windows is a small app, and it takes less than 1 MB.
To be honest, I hate to work with java files, cause it was really terrible process, but using this tiny app, it’s much easier. No more mess while working ☺️
I strongly recommend it to my friend, but unfortunately, it has a small drawback — it doesn’t work for MAC.
Last, but, for sure, not least, Jarfix for Windows is completely free
All in all, it’s definitely worth trying

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Cameron


Jarfix finds out the problem with your file and fixes it from the root. It offers options to add it to your main menu, so it is easier to access in the future. It also extracts files to help find the problems within the file. It also offers an optional configuration file. This app works well for people who have many file problems.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Max


I had to use Jarfix in order to fix my Minecraft. It wouldn’t even launch without it, so I would say that it is a very useful software if you are needing to fix that Java Software on your PC.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


John


This is a product that is meant to help people who are java developers resolve commonly experienced problem of java based programs not functioning correctly. This is really great for people who code in their daily lives and are proficient in using a lot of data to get in their system. I would highly recommend them.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Mason


Jarfix is software that can be downloaded for free on your desktop. It helps fix common mistakes for users that are using Java such as properly associating the correct Java archives with the Java program. Since many file types can be saved on a PC, when it comes to «jar» files, the incorrect environment might have been selected, therefore not allowing the Java file to be accessible/ work correctly. Instead of working around it, you can use this «light» software that can help change the little things that matter rapidly.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Ruaridh


This software really helps with problems that one can frequently experience with java based programs. Java based programs have been known to cause issues and this app helps solving those problems. This app is also free and easy to use. I have found it very helpful and i do recommend it for anyone that may have been faced with similar issues

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Joseph


It is the software which is used for the PC when it doesn’t run the java file that is in the .jar extension files. It is secured, light weight and easy to use. It is not the paid version in any operating systems. It is used for the aggregating and sharing the various java files and their metadata with all the sources. They are built on the ZIP format and they are like the .jar extensions.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Caleb


This software is easy to recapture the .jar extension type java runtime applications.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Oscar


I love using Jarfix for Windows because the software is invaluable to me whenever I have a file with the .jar extension that I need to run. It ensures that all of .jar files are executed in an efficient manner and best of all, the program is completely free of charge to use, which makes it a no-brainer to take advantage of.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Alfie Imrie


Jarfix is a free software tool for fixing the «jarfile not found» error in Java programs. It repairs the Java Runtime Environment settings to make sure the jarfile is properly recognized and can be used. It also provides additional features such as repairing corrupted jarfiles, fixing Java security settings, and providing quick access to Java settings.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Leo A.


Jarfix is a useful software that helps to fix jar files. I have used it many times to fix jar files and it works quite well. It is very easy to install and use, as the steps are quite straightforward. There are no extra features, but that is not a problem as the main purpose of the software is fulfilled. The response time is also quite good and it doesn’t take too much time to fix a jar file. The interface is quite user-friendly and the menus are quite organized. It is also a very lightweight software and doesn’t consume too many system resources.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Alfie I******i


I recently used Jarfix software to repair a corrupted .jar file and it worked like a charm! It was a simple process that only took a few minutes. The user interface was very easy to understand and the results were the same as expected. I was also pleased to find that it was a free and open source software. The only downside was that the website was a bit outdated and the FAQ section wasn’t very helpful. Overall, I found Jarfix to be a great tool for repairing corrupted .jar files.

image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner


Joshua O.


I recently used Jarfix software to repair a corrupted jar file. The process was quite easy and I was able to get things back up and running in no time. The software had an intuitive user interface and was able to identify the issue quickly. I also appreciated that it was a free download. Overall, I was satisfied with my experience.

Jarfix software is an easy to use tool that I found very helpful in fixing my jar files, especiallt when I was in a hurry.

LEAVE A COMMENT ABOUT THIS PRODUCT

The root cause for the problem above is, that a program has stolen the .jar association. If you have installed the Java Runtime Environment the first time, the file type called «jar» is assigned to javaw.exe correctly. «jar» is an abbreviation for «java archive» and javaw.exe is the correct program to execute a .jar. However, on Windows any program can steal a file type at any time even if it is already associated with a program. Many zip/unzip programs prefer to do this, because a jar is stored in the .zip format. If you doubleclick on a .jar, your pack program opens the file, rather than javaw runs the program, because your pack program ignores the meta information which are also stored in a .jar. In the Oracle bug database there is the low-priority report 4912211 «add mechanism to restore hijacked .jar and .jnlp file extensions», but it has been closed as «Closed, Will Not Fix».

You may also miss the file connection with .jar if you are using a free OpenJDK without an installer.

The workaround
Reinstall the Java Runtime Environment or fix the Windows Registry manually each time this problem occurs.

The solution
You can fix this problem very easy with the small but reliable jarfix.exe program. Just doubleclick on it to restore the .jar association with javaw.exe.

Optional parameters
By default jarfix fixes the problem without any additional parameters. Nonetheless, there are a few optional parameters available if you want to customize the behavior of jarfix.

Optional Parameter

  • /64 On Windows x64 you can have both a 32 bit JRE and/or a 64 bit JRE installed. By default jarfix searches for the 32 bit JRE first and if a 32 bit JRE is not found it continues to search for the 64 bit JRE. With the /64 option you tell jarfix to search only for the 64 bit JRE/JDK.
  • /a Option /a adds the menu item called «Run as…» (Windows XP) respectively «Run as administrator» (Windows Vista and Windows 7) to the context menu of the Windows Explorer in order to execute .jar files also with administrator permissions. That can be useful for Java based installers that are stored in the .jar-format, because usually those installers want to write to the Windows program directory where normal users haven’t write permissions by default.
  • /h prints some help (version, author, syntax) and quits the program.
  • /i sets an alternative icon for .jar files (only necessary for older JREs).
  • /k forces a search in the Windows Registry for a JDK only. That option skips the search for a JRE.
  • /l creates a symbolic link called «latest», that points to the JRE/JDK that jarfix can find. An alternatively name of the link can be specified by using an .ini file. See also the section called «Optional configuration file».
  • /s runs jarfix silently (without any dialogs). That can be useful if jarfix should be launched by a different program or if you want to run jarfix by the Windows’ autostart feature.
  • /u restores the .jar-association for the current user account only. You can use that option if you don’t have admin permissions on the computer. The option can be also useful if you are admin and if you actually want to use a different JRE than all other users on the computer.
  • /x extracts four files and quits the program. The files which are being extracted are: a) jarfix-license.txt, the license of jarfix; b) jarfix.ini, a sample configuration file for the /c option; c) jartest.jar, a tiny Java programcalled Jartest which you can use in order to test the .jar-association; d) jartest-license.txt, the license of Jartest
  • /z forces a search in the Windows Registry for a JDK only from Azul Systems that has been installed latest using the .msi. That option skips the search for a JRE/JDK from Oracle.
  • Many parameters can be used together, for example «jarfix /64 /a /k /s /l» starts the program without any dialogs (/s), searches for a 64bit JDK only (/64 /k), recreates the file association with jar, creates a junction called latest (/l), and adds the menu item called «Run as administrator…» for jar files to the conext menu of the Windows Explorer (/a).

Optional configuration file

In order to feed jarfix with an alternate configuration file, simple create a file that has the same name as the .exe, but with .ini extention. The .ini file has to be in the same folder where the .exe is stored. With that config file you can fully control the action that should happen if you double click on a jar file. Options specified on the command line are concatenated with the options specified in the config file. Both detailed instructions and examples can be found in that sample configuration file.

Requirements

A Windows based operating system (95/98/ME/NT/2000/2003/2008/XP/Vista/7/8/10). Without a Java Runtime Environment (JRE), jarfix will tell you where you can download the JRE.

Понравилась статья? Поделить с друзьями:
  • Скачать itunes for windows 10 последняя версия
  • Скачать jabra sound для windows 10
  • Скачать itunes for windows 10 64 разрядный
  • Скачать jabber клиент для windows 10
  • Скачать itunes for windows 10 64 bit торрент