Джава ошибка 1618 при установке

Код ошибки «1618» — довольно распространенная ошибка в Windows, которая запрашивается установщиком Microsoft (.msi), сообщающим, что в настоящее время обрабатывается другой .msi-файл. Пользователи сталкиваются с этой ошибкой установки при установке Java на свои компьютеры.

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

Что вызывает «код ошибки Java 1618»?

Как упоминалось ранее, это сообщение об ошибке вызвано конфликтом в установщике Microsoft. Однако есть и другие причины, по которым установка может завершиться неудачно. Некоторые из них:

  • Службы в Microsoft Installer находится в состоянии ошибки. Если служба не работает должным образом, процесс установки Java не будет продолжен.
  • Существующая установка Java повреждена и неполная.
  • Иногда обновление Windows нарушает работу установщика. Если быть точным, KB2918614 сломал модуль установки, что вынудило Java отозвать свой процесс.
  • Антивирусное программное обеспечение проявляет особую осторожность при установке приложений. Это программное обеспечение безопасности время от времени блокирует установку из-за ложного срабатывания.
  • Также могут быть сторонние приложения, которые автоматически запускают службу установки Windows. В этом случае мы должны диагностировать приложение и остановить его, чтобы устранить сообщение об ошибке.

Как исправить «код ошибки Java 1618»?

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

Решение 1. Перезапуск службы MSIEXEC.EXE

В установщике Microsoft есть служба MSIEXEC.EXE, которая в первую очередь отвечает за установку модулей из установщиков .msi, подобных тому, который есть у нас для java. Если эта служба не работает должным образом или имеет некоторые конфликты с другими службами, это может вызвать ошибки, подобные обсуждаемой. Мы сбросим / отключим службу и попробуем снова установить Java.

  1. Нажмите Windows + R, введите « taskmgr » в диалоговом окне и нажмите Enter. Выберите вкладку Процессы .
  2. Оказавшись в службах, найдите службу MSIEXEC. EXE »или« MSIEXE.MSI », щелкните его правой кнопкой мыши и выберите« Завершить процесс ». В Windows 10 это может быть указано как «Установщик Windows».

  1. Теперь перейдите к установщику Java и соответственно установите Java на свой компьютер.

Если завершение процесса из диспетчера задач не работает, мы можем попробовать перезапустить службу и установить тип запуска как автоматический . Убедитесь, что вы вошли в систему как администратор.

  1. Нажмите Windows + R, введите « services. msc »в диалоговом окне и нажмите Enter.
  2. В службах найдите службу « Установщик Windows », щелкните ее правой кнопкой мыши и выберите « Свойства» .

  1. В свойствах нажмите « Пуск» . Теперь попробуйте установить Java и посмотрите, устранит ли это сообщение об ошибке.

Решение 2. Использование автономного установщика

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

  1. Удалите все существующие экземпляры Java с вашего компьютера. Теперь перейдите на официальный сайт Java и загрузите оттуда автономный установщик ( Windows в автономном режиме ).

  1. После загрузки установщика щелкните приложение правой кнопкой мыши и выберите «Запуск от имени администратора». После установки полностью перезагрузите компьютер и проверьте, исчезло ли сообщение об ошибке.

Решение 3. Отключение антивирусного программного обеспечения

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

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

Решение 4. Проверка Центра обновления Windows

Установщик Windows часто получает обновления от Microsoft для улучшения функций и устранения ошибок и проблем. Недавно появилось обновление Windows ( KB2918614 ), которое, как сообщается, нарушило работу установщика Windows. Это может быть связано с проблемами в реестре или в общей структуре. Поскольку это было решено с помощью другого обновления, есть два варианта; либо вы можете обновить свою Windows до последней сборки, либо вернуться обратно.

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

  1. Нажмите Windows + S, введите « Центр обновления Windows » в диалоговом окне и откройте приложение.
  2. Нажмите на опцию Проверить наличие обновлений и установите ожидающие обновления.

  1. Полностью перезагрузите компьютер и попробуйте снова запустить установщик Java.

Если это не сработает, вы можете попробовать откатить обновление KB2918614 для Windows.

  1. Откройте настройки обновления, как мы делали ранее, и нажмите « Просмотреть историю обновлений» . В следующем окне выберите Удалить обновления .

  1. На вкладке Microsoft Windows щелкните правой кнопкой мыши проблемное обновление и выберите « Удалить» .

  1. После удаления обновления перезагрузите компьютер и попробуйте снова запустить установщик Java.

Решение 5. Чистая загрузка компьютера

Если все вышеперечисленные методы не работают, но при установке Java вы все равно получаете сообщение об ошибке «Код ошибки Java 1618», вы можете попробовать выполнить «чистую» загрузку компьютера. Этот режим включает вашу систему с минимальным набором драйверов и программ и запускаются только системные службы. После чистой загрузки вы можете попробовать установить Java, и, если она будет успешной, это означает, что какая-то сторонняя программа конфликтует с нашим установщиком.

  1. Нажмите Windows + R, чтобы запустить приложение «Выполнить». Введите « msconfig » в диалоговом окне и нажмите Enter.
  2. Перейдите на вкладку Services в верхней части экрана. Отметьте строку « Скрыть все службы Microsoft ». После того, как вы нажмете эту кнопку, все связанные с Microsoft службы будут отключены, оставив все сторонние службы (вы также можете отключить все связанные с Microsoft процессы и более тщательно проверить, нет ли сторонних служб, вызывающих проблему).
  3. Теперь нажмите кнопку « Отключить все », расположенную внизу в левой части окна. Все сторонние сервисы теперь будут отключены.
  4. Нажмите Применить, чтобы сохранить изменения и выйти.

  1. Теперь перейдите на вкладку «Автозагрузка» и выберите « Открыть диспетчер задач ». Вы будете перенаправлены в диспетчер задач, где будут перечислены все приложения / службы, которые запускаются при запуске вашего компьютера.

  1. Выберите каждую службу по очереди и нажмите « Отключить » в правом нижнем углу окна.

  1. Перезагрузите компьютер, чтобы изменения вступили в силу, и попробуйте запустить установщик.

Java error code 1618 is a common issue that comes up when you are installing Java. Don’t worry if you are experiencing this problem. In this post from MiniTool Software, you can learn about 4 methods to deal with the issue.

When you are in the process of Java installation, you might encounter an issue with the error code 1618, prompting that Java update did not complete. With this error, you will be stopped from installing Java on your computer.

This error is given by Microsoft Installer (.msi) and its appearance indicates that another .msi is under process. In other words, there might be another Java installer or installer of other software is running in the background, blocking the current Java installation.

Java error code 1618

Apart from the installer conflict, Java error 1618 might also be caused by other factors, including incomplete Java installer, related service issue, and etc. Actually, it might be hard for you to figure out the culprit in your case. The good news is that you can try the following methods to fix the Java installer error 1618 by yourself.

Let’s start our troubleshooting.

Fix 1: End the MSIEXEC.EXE Process

A process named MSIEXEC.EXE will run and display in the Task Manager when you launch Java installer. This process works for installing modules from .msi installers, and the installation will fail if it is not working properly. In this case, you can end the process and try installing Java again.

Here’s how to do that:

Step 1: Right-click the Start button and choose Task Manager from the list to open its window.

Step 2: Under Processes tab, scroll down to locate the MSIEXEC.EXE (or Windows installer) process. Right-click it and choose End task.

Step 3: Exit the window. Right-click your Java installer and select Run as administrator to install it.

Fix 2: Restart Windows Installer Service

As mentioned before, Java installer error 1618 will come up if the Windows Installer service is not working properly. To fix the issue in this case, you can restart the service. Just follow the steps displayed below:

Step 1: Press Windows + R to open Run window.

Step 2: Input services.msc in the editable box and click OK to open Services app.
step 3: Find the Windows Installer service in the list and double-click it to open its Properties.

Step 4: Under General tab, click Start button. If its status is already running, you should click Stop and then Start button to restart the service. After that, click OK to close the window.

restart Windows Installer service

Once its done, you can try relaunching the Java installer and you should be able to complete the installation without problems.

Fix 3: Update Your Windows

According to the reports, there might be some bugs or problems in your Windows that interfere with the proper functioning of Windows Installer. Thus, some users also recommended update Windows to the latest version that could contain some patches or fixes for the known issues.

To update your Windows, you can refer to the following tutorial.

Step 1: Press Windows + I to open Settings.

Step 2: Click Update & Security ad choose Windows Update section.

Step 3: In the right pane, click Check for updates button to make your Windows check, download and install the available updates.

After updating your Windows, you should restart your computer and then try installing Java again. Hopefully, Java installer error 1618 is fixed successfully.

Related article: 7 Solutions to Fix Windows 10 Won’t Update. #6 Is Fantastic

Fix 4: Perform Clean Boot

If all above methods fail to resolve Java error code 1618, it is very likely that a certain third-party program is conflicting with Java installer. You don’t need to find out the specific program. Instead, you can clean boot your computer and launch the installer with all the third-party program disabled.

Step 1: After opening Run window, type msconfig in the box and click OK to open System Configuration window.

Step 2: Switch to Services tab, check Hide all Microsoft services and click Disable all button. This will disable all the third-party services.

disable third-party service

Step 3: Go to Startup tab and click Open Task Manager. Under Startup section in the new window, disable all the listed programs by choosing them one by one and clicking Disable button.

Step 4: Restart your computer to take effect the changes.

After that, you can run your Java installer and the Java error 1618 should have been resolved.

The error code ‘1618’ is quite a common error in Windows which is prompted from Microsoft Installer (.msi) stating that another .msi is currently being processed. Users encounter this installation error when they are installing Java on their computers.

Do note that this error code doesn’t necessarily mean that there must be another instance of Java running in the background. There can be any other installation being processed which may block the installation of Java. This error is legitimate if you indeed have an installation underway. In that case, you should wait it out and let the existing installation finish. After that, you can attempt at installing Java again.

What causes ‘Java error code 1618’?

Like mentioned before, this error message caused by a clash in Microsoft Installer. However, there are also other reasons why your installation might fail. Some of them are:

  • The service of Microsoft Installer is in an error state. If the service isn’t running properly, the installation process for Java will not proceed.
  • The existing Java installation is corrupt and incomplete.
  • Sometimes, Windows update breaks the installer. To be specific, ‘KB2918614’ broke the installation module which forces Java to withdraw its process.
  • Antivirus software is extra cautious when it comes to installing applications. These security software blocks an installation every once in a while with a false positive.
  • There can also be third-party applications which start the Windows installer service automatically. In this case, we have to diagnose the application and stop it to solve the error message.

Users face the error message ‘Java error code 1618’ when they try installing Java on their computer. Like mentioned before, it is related to msi service of Windows itself. The solutions below target all the problems which you may face. Make sure you are logged in as an administrator and have an active internet connection.

Solution 1: Restarting the service ‘MSIEXEC.EXE’

Microsoft installer has a service named ‘MSIEXEC.EXE’ which is primarily responsible for installing modules from .msi installers like the one we have for java. If this service is not working properly or has some conflicts with other services, it may induce errors like the one under discussion. We will reset/kill the service and try installing Java again.

  1. Press Windows + R, type “taskmgr” in the dialogue box and press Enter. Select the tab Processes.
  2. Once in services, search for the service ‘MSIEXEC.EXE’ or ‘MSIEXE.MSI’, right-click it and select “End process”. In Windows 10, this might be listed as ‘Windows installer’.

  1. Now navigate to the Java installer and install Java on your computer accordingly.

If ending the process from the task manager doesn’t work, we can try to restart the service and set the startup type as Automatic. Make sure that you are logged as an administrator.

  1. Press Windows + R, type “services.msc” in the dialogue box and press Enter.
  2. Once in services, locate the service “Windows Installer”, right-click it and select Properties.

  1. Once in properties, click on Start. Now try installing Java and see if this fixes the error message.

Solution 2: Using offline installer

If restarting the service doesn’t work, you can try using the offline installer instead. The default Java installer downloads the files from the internet while downloading. If this doesn’t go as planned and the Windows installer is unable to fetch the files, you might experience this error message. The offline installer is a larger file but already has all the modules present so you don’t have to download anything when installing.

  1. Remove all existing instances of Java from your computer. Now navigate to the official website of Java and download the offline installer from there (Windows offline).

  1. After downloading the installer, right-click on the application and select “Run as administrator”. After installing, restart your computer completely and check if the error message is resolved.

Solution 3: Disabling Antivirus software

As mentioned earlier, antivirus software block access to any program which they find suspicious of infecting the computer system. This behavior is called a false positive and there are many reports that Java fails to install because of this. The most common antivirus which was known to cause this problem was McAfee.

To counter this situation, you can disable your antivirus software completely and then try installing again. If you have more than one antivirus software on your desktop, do the same for all of them. Once you are absolutely sure that no antivirus is monitoring your computer, attempt at installing Java again as an administrator.

Solution 4: Checking Windows Update

Windows Installer gets frequent updates from Microsoft to improve features and remove bugs and problems. Recently, there was a Windows update (KB2918614) which reportedly broke the Windows installer. This can be due to problems in the registry or in the overall structure. Since this was resolved with another update, there are two options; either you can update your Windows to the latest build or revert back.

First, you can attempt at installing the latest update. If due to any reason you cannot your update your computer, you can try reverting back the update.

  1. Press Windows + S, type “Windows Update” in the dialogue box and open the application.
  2. Click on the option Check for updates and install the pending updates.

  1. Restart your computer completely and try running the Java installer again.

If this doesn’t work, you can try reverting back the KB2918614 update for Windows.

  1. Open the Update settings like we did earlier and click View update history. From the next window, select Uninstall updates.

  1. Underneath the tab of Microsoft Windows, right-click on the problematic update and select Uninstall.

  1. After uninstalling the update, restart your computer properly and try launching the Java installer again.

Solution 5: Clean Booting your Computer

If all the above methods don’t work and you still get the error ‘Java error code 1618’ when installing Java, you can try clean booting your computer. This mode turns on your system with a minimal set of drivers and programs and only system services are being run. Once in clean boot, you can try installing Java and if it is successful, it means there was some third-party program conflicting with our installer.

  1. Press Windows + R to launch the Run application. Type “msconfig” in the dialogue box and press Enter.
  2. Navigate to the Services tab present at the top of the screen. Check the line which says “Hide all Microsoft services”. Once you click this, all Microsoft related services will be disabled leaving behind all the third-party services (you can also disable all Microsoft related processes too and check more extensively if there are no third-party services causing the problem).
  3. Now click the “Disable all” button present at the near bottom at the left side of the window. All the third-party services will now be disabled.
  4. Click Apply to save changes and exit.

  1. Now navigate to the Startup tab and click the option of “Open Task Manager”. You will be redirected to the task manager where all the applications/services which run when your computer starts will be listed.

  1. Select each service one by one and click “Disable” at the bottom right side of the window.

  1. Restart your computer for the changes to take place and try running the installer.

Photo of Kevin Arrows

Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Most of us would have faced the Java Error Code 1618 while installing or updating Java. The issue is commonly noticed during the installation of Java versions 7 and 8. The error indicates that another installation is in progress. It may be a java version or any other installation that uses Windows installer. In this article, we shall see some possible causes and solutions.

1. Cause for Java error code 1618

The error 1618 is not specific to Java. Some of the common causes for this error are mentioned below:

  1. Windows installer (msiexec.exe) is busy installing another program or process on the machine.
  2. Issues with Windows Installer service
  3. Issues with existing Java setup

2. Solutions for Java error code 1618

2.1 Allow existing installation to complete

Microsoft docs indicate the error 1618 as ERROR_INSTALL_ALREADY_RUNNING ( Another installation is already in progress. Complete that installation before proceeding with this install.). It is recommended to wait till the current installation completes. Check if there is already an instance of Windows installer running. You can identify this process in Task Manager. Allow the current installation/ process to finish and then try the installation

Java Error Code 1618 - Windows installer in task manager
Fig1. Windows installer in task manager

2.2 Restart windows installer

You can kill the existing installation or Windows Installer process in Task Manager (refer Fig1 above) and then start the service.

  1. Navigate to Services by typing services.msc in run command (Windows + R)
  2. Identify the Windows Installer service in this window and click on ‘Start’.

Java Error Code 1618 - Windows installer service

Fig2. Windows installer service

2.3 Reinstall Java

You can uninstall the previous versions of java and then try the setup. Note that from Java 8 Update 20, the Java Uninstall Tool is integrated with the installer to provide an option to remove older versions of Java from the system. The change is applicable to 32 bit and 64-bit platforms. Refer to the Java page for details.

You can try the offline installer available on the Java downloads page.

Java Error Code 1618 - Java download page for offline install

Fig3. Java download page for offline install

2.4 Uninstall security patch

You may try uninstalling the security patch – kb2918614 if you are still running on Windows 7 or 8.1. There are some known issues of this patch breaking the windows installer (refer to these links for support duration and issue details)

3. Building Your Own Java Package

Additionally, there is the chance that you are building your own Java Package. In these cases, in order to be sure that the error 1618 won’t interrupt the installation, you can create a Command Step and enter the following command:helloWorld.jsp

taskkill.exe /f /im msiexec.exe

This command kills the Windows Installer which can prevent your Java Package from installing. Just be careful because this command can terminate any installation that is currently running. Also, in case taskkill.exe didn’t find any image of Windows Installer running, it will return an error code 128. You have to be sure that you will include codes 128 and 0 as Successful Error Codes.

4. Summary

We looked at some of the common causes and solutions for error 1618. I hope this article helps you get around the issue.

If you want to find more Java articles, take a look here.

Last updated on Oct. 13th, 2021

Photo of Venkat-Raman Nagarajan

Venkat works for a major IT firm in India and has more than a decade of experience working and managing Java projects for a banking client.

Ошибка Java

Устанавливал новую версию Java и в процессе установки получил отчет об ошибке: Java update did not complete Error Code: 1618.

При повторной попытке выскочила еще одна ошибка с кодом 1603.

Ошибка установки Ява код 1603

Немного предыстории. У меня Windows 7, ява слетела, возможно, из-за действия антивирусов (Avira, 360 Total Security), пришлось ставить заново свежую версию. В процессе установки на диске C закончилось место. Место расчистил, но ошибки повторялись. 

Пробовал по рекомендации с официального сайта поставить яву из дистрибутива для автономной (ручной) установки https://www.java.com/ru/download/manual.jsp , ошибки повторялись.

Пробовал программу удаления Java с официального сайта: https://www.java.com/ru/download/uninstalltool.jsp — она установленных версий явы у меня не обнаружила.

Итак, выше перечислил все, что не дало желаемого результата.

Далее излагаю шаги которые в моем случае в сумме дали желаемый результат.

  1. На системном диске, как уже писал выше, было освобождено достаточно места для установки (установленная Java на диске занимает 158 Мб).
  2.  Скачал дистрибутив для автономной установки тут: https://www.java.com/ru/download/manual.jsp
  3. Зашел в папку, где ранее располагалась ява:  C:\Program Files (x86)\Java\ вручную удалил все, что в ней находилось.
  4. Почистил реестр от поврежденных ключей при помощи RegCleaner — можно использовать любую другую похожую программу, например, тут советуют утилиту Майкрософта:
    https://www.java.com/ru/download/faq/uninstaller_toolfaq.xml#tool-tips
  5. Отключил антивирус (Авира)
  6. Выполнил заново установку Java из скачанного в пункте 2 дистрибутива.

Проблема с ошибкой установки Java решена

Ява установлена без ошибок! Чего и вам желаю.

Буду рад, если кому-то мой способ решения этой проблемы помог.

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

Понравилась статья? Поделить с друзьями:
  • Дефект 200 рено премиум ошибка
  • Джава ошибка 1603 что делать
  • Детские образовательные учреждения проблемы и ошибки проектирования
  • Деятельностные операционные ошибки это
  • Джава ошибка 1601