Ошибка this application was configured

I am using launch4j for the first time and I get following error. Here is launch4j error log.

Compiling resources
Generated resource file...
LANGUAGE 0, 1
2 RCDATA BEGIN "1.5.0" END
18 RCDATA BEGIN "1" END
21 RCDATA BEGIN "http://java.com/download" END
20 RCDATA BEGIN "32" END
101 RCDATA BEGIN "An error occurred while starting the application." END
102 RCDATA BEGIN "This application was configured to use a 
bundled Java Runtime Environment but the runtime is missing or corrupted." END
103 RCDATA BEGIN "This application requires a Java Runtime Environment" END
104 RCDATA BEGIN "The registry refers to a nonexistent
Java Runtime Environment installation or the runtime is corrupted." END
17 RCDATA BEGIN "true" END

and here is generated xml file

<launch4jConfig>
<dontWrapJar>false</dontWrapJar>
<headerType>gui</headerType>
<jar>/DesktopApp/launch4j/applicationname.jar</jar>
<outfile>/DesktopApp/launch4j/applicationname.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir></chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl></supportUrl>
<stayAlive>false</stayAlive>
<manifest></manifest>
<icon></icon>
<jre>
<path></path>
<bundledJre64Bit>false</bundledJre64Bit>
<minVersion>1.5.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
</jre>
</launch4jConfig>

Your help will be very much appreciated.If there are alternative for launch4j then please tell me.

asked Nov 20, 2013 at 7:09

saurabh's user avatar

0

I was trying to use a *.png file as my icon but it wanted *.ico. Once I removed <icon>...</icon> from my config file this error disappeared.

answered Jan 23, 2014 at 4:03

giraffe.guru's user avatar

I ran launch4j application as administrator and the error disappeared for me.

answered Jan 15, 2014 at 19:24

user2984174's user avatar

Check the icon file you are using (if you are using one). I was coming across the same error when trying to wrap my java executable. I was using a png file that I converted to what I thought was an icon (.ico) file. Turns out this conversion didn’t work. After using a correct .ico file I found on my windows system, I used that and it worked.

answered Aug 4, 2014 at 1:12

JC3's user avatar

The reason is a version of JRE on machine where EXE file is executing.

answered Mar 4, 2015 at 14:21

svichkar's user avatar

svichkarsvichkar

1,7661 gold badge17 silver badges23 bronze badges

3

Give the path as binjre_path
For instance if you have a folder dist with bin as subfolder having the jre file inside.

answered Apr 12, 2020 at 14:47

KIPSANG HENRY's user avatar

None of the above helped me. The answer was to copy JRE’s lib and bin folders into a new folder inside dist (I called it jre), then use that folder name as the Bundled JRE Path:enter image description here

answered Sep 25, 2020 at 9:30

jazzwhistle's user avatar

jazzwhistlejazzwhistle

3271 silver badge12 bronze badges

Hello.
I have the problem with starting Zipped Arduino program.

I wanted to download one of old versions arduino-1.6.5-r5-windows on my windows 10 Home edition x64. OK I unzipped folder. So when I open arduino.exe application in unzipped folder and after I get error message from Arduino, which says:

This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.

After I press OK button, message goes away, but app does not appear at all.

I thought I don’t have java on my new PC. However, the problem is still present.
OK. I deleted zipped version and tried to install via Windows Installer. However, it has NSIS Error which says : Error launching installer. So I had to delete installer file too.

I tried all the same with version ARDUINO 1.8.12 and the same steps had failed too. so I got to delete folders and installer file too again.

I even tried to bring version of arduino-1.6.5-r5-windows zipped version from my laptop to PC on usb stick. Same error. So unfortunately got to delete zipped and unzipped folders.

After that I went to Microsoft Store. I found it, downloaded. The version is ARDUINO 1.8.12. It opens and shows all functions that should be. However, I got a problem with adding up zipped library which I downloaded from www.OSEPP.com official website.

I wrote about my problem yesterday in Arduino forum, but no answer yet.

Please help. Could anyone tell which Windows version is OK and which version of Java is good to work with Arduino application?

Best regards!

WindowsRegular Zipped version problem 1
WindowsInstaller problem 2
Arduino from Windows Store does not manualy add zipped library from oficial website OSEPP problem 3

Я использую launch4j в первый раз и получаю следующую ошибку. Вот журнал ошибок launch4j.

Compiling resources
Generated resource file...
LANGUAGE 0, 1
2 RCDATA BEGIN "1.5.0" END
18 RCDATA BEGIN "1" END
21 RCDATA BEGIN "http://java.com/download" END
20 RCDATA BEGIN "32" END
101 RCDATA BEGIN "An error occurred while starting the application." END
102 RCDATA BEGIN "This application was configured to use a 
bundled Java Runtime Environment but the runtime is missing or corrupted." END
103 RCDATA BEGIN "This application requires a Java Runtime Environment" END
104 RCDATA BEGIN "The registry refers to a nonexistent
Java Runtime Environment installation or the runtime is corrupted." END
17 RCDATA BEGIN "true" END

и вот сгенерированный xml файл

<launch4jConfig>
<dontWrapJar>false</dontWrapJar>
<headerType>gui</headerType>
<jar>/DesktopApp/launch4j/applicationname.jar</jar>
<outfile>/DesktopApp/launch4j/applicationname.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir></chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl></supportUrl>
<stayAlive>false</stayAlive>
<manifest></manifest>
<icon></icon>
<jre>
<path></path>
<bundledJre64Bit>false</bundledJre64Bit>
<minVersion>1.5.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
</jre>
</launch4jConfig>

Ваша помощь будет очень признательна. Если есть альтернатива для launch4j, пожалуйста, сообщите мне.

7 ответы

Я пытался использовать файл *.png в качестве значка, но он хотел *.ico. Как только я удалил <icon>...</icon> из моего файла конфигурации эта ошибка исчезла.

Создан 23 янв.

Я запустил приложение launch4j от имени администратора, и ошибка исчезла.

Создан 15 янв.

Проверьте файл значка, который вы используете (если вы его используете). Я столкнулся с той же ошибкой при попытке обернуть исполняемый файл Java. Я использовал файл png, который я преобразовал в то, что я считал файлом значка (.ico). Оказывается, это преобразование не сработало. После использования правильного файла .ico, который я нашел в своей системе Windows, я использовал его, и это сработало.

ответ дан 04 авг.

ответ дан 17 апр.

Причина в версии JRE на машине, на которой выполняется EXE-файл.

ответ дан 04 мар ’15, в 14:03

Укажите путь как binjre_path Например, если у вас есть папка dist с bin в качестве подпапки, внутри которой находится файл jre.

ответ дан 12 апр.

Ничего из перечисленного мне не помогло. Ответ заключался в том, чтобы скопировать папки JRE lib и bin в новую папку внутри dist (я назвал ее jre), а затем использовать это имя папки в качестве связанного пути JRE:Введите описание изображения здесь

Создан 25 сен.

Не тот ответ, который вы ищете? Просмотрите другие вопросы с метками

java
swing
desktop-application
launch4j

or задайте свой вопрос.

Follow the steps below to restore your operating system’s functionality

by Ivan Jenic

Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and… read more


Published on September 13, 2022

Reviewed by
Vlad Turiceanu

Vlad Turiceanu

Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming… read more

  • Whenever installing a new program on Windows 10, you should always make sure you document yourself on whether it is compatible with your OS or not.
  • Sometimes, you will be prompted with an error message stating that the OS is not configured to run that application due to software issues.
  • That is why you should follow the steps in this guide and resolve the compatibility issue with your Windows 10 PC.

os-cant-play the operating system is not presently configured to run this application

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Have you recently upgraded your OS to Windows 10? Then you probably have seen the annoying The operating system is not presently configured to run this application error whenever you want to launch any Microsoft Office 365 applications.

This can affect anything from Skype and Outlook to Excel or Word, and it does not stop there. Follow along to find out what to do about it!

Why is the operating system not presently configured to run this application?

Not one app is responsible for sending out this error message. Instead, the error message is being generated by Microsoft Office, and it lets you know that there is a problem with the installation of Microsoft Office on your computer.

This prevents other Office apps and, most likely, a significant number of different applications from the beginning, such as Ableton or Control Panel.

Users reported a plethora of similar errors and different apps where they showed up, which we will address below. Some of them are the following:

  • The operating system is not presently configured to run this application Office 365, 2010, 2013,
  • 2016, 2019
  • The operating system is not presently configured to run this application in Windows 10, 11
  • Excel the operating system is not presently configured to run this application
  • The operating system is not presently configured to run this application when opening Word (Word 2013 especially)
  • The operating system is not presently configured to run this application transaction Pro, QuickBooks, Gint, Ableton, SolidWorks
  • Control panel the operating system is not presently configured to run this application

This error prevents Windows 10 users from successfully launching their applications. Meanwhile, we have compiled solutions that you can use to fix this error quickly.

How do I fix The operating system that is not presently configured to run this application?

In this article

  • Why is the operating system not presently configured to run this application?
  • How do I fix The operating system that is not presently configured to run this application?
  • 1. Run Windows Update
  • 2. Repair Microsoft Office installation
  • 4. Run Microsoft Office Diagnostics
  • 6. Run the Program in compatibility mode
  • 7. Update your drivers
  • How do I fix The operating system is not presently configured to run this application on Windows 11?

1. Run Windows Update

  1. Press Windows + I to open the Settings app, then click Update & security.update-security nmi hardware failure windows 10
  2. Click the Check for updates button to update your OS.check-updates searchui windows 10
  3. After the Update is complete, restart your Windows PC.

Another way of fixing the error message is by running Windows Update. Microsoft constantly releases Windows updates to improve the system’s stability and fix various issues and errors; fixes for Microsoft Office 365 could be included as well in the latest updates.

Most users don’t know what to do when the Windows search box goes missing. Read our article to learn how you can get it back in just a few steps.

2. Repair Microsoft Office installation

  1. Press the Windows and R keys simultaneously to launch the Run program. Type appwiz.cpl without quotes and click OK.appwiz the operating system is not presently configured to run this application
  2. Scroll down to locate the Microsoft Office program, click Change, and then choose Repair.
  3. Select the Full Repair or Online Repair option and wait for the repair process to finish.
  4. After the repair, reboot your PC and launch the Microsoft Office application.

The installed Microsoft Office program may be corrupted because of the migration process from Windows 10 OS. However, the Microsoft Office program can be repaired from Control Panel.

You may have to fix the error problem by repairing the Microsoft Office installation.

Tip icon
Tip

You must use genuine license/activation details to re-activate Microsoft Office. Also, Online Repair requires an Internet connection; ensure you have an active Internet connection if you select this option.

You don’t know what to do when the Windows key stops working? Check out our guide and fix the issue quickly.

3. Repair your file registry

  1. Press the Windows key, type cmd, and select the Run as administrator option from the right.cmd-run-admin 0x80070002 windows update
  2. Paste or type the following command and press Enter: sfc /scannowscannow 0x80070002 windows update
  3. Wait for the scanning process to complete and then restart your computer.

The corrupted file registry may be responsible for the Operating system is not presently configured to run this application error message. In addition, this corruption manipulates Microsoft Office 365 program file data; hence, causing the error message.

Use Windows’ in-built System File Checker or third-party utility tools to check for corrupted files, verify the integrity of all system files, and repair the problematic files.

It is a safer option for your PC’s working state because it solves the impediment automatically. On top of that, you save a lot of time by using this kind of tool.

Restoro does a complete scan of your PC’s issues and provides a thorough system diagnosis within a few moments. The tool fixes malfunctioning grouped and/or individual registry files that affect the performance of your device and restores compromised registry values to their default settings.

Here’s how you can perform this action:

  1. Download and install Restoro.
  2. Launch Restoro.
  3. Wait for it to find any system stability issues and possible malware infections.
  4. Press Start Repair.
  5. Restart your PC for all the changes to take effect.

In case the registry keys have been damaged severely, you can allow Restoro to replace them with new and healthy ones from its online repository.
The software brings your Windows Registry to an optimized state, helping your device function properly, without any errors.

⇒ Get Restoro


Disclaimer: This program needs to be upgraded from the free version in order to perform some specific actions.


Read more about this topic

  • Your computer is configured correctly but the device isn’t responding
  • Fix the Lenovo PC error 1962: No operating system found
  • This website is not properly configured
  • This app can’t run on your PC on Windows 10/11
  • Windows could not run on this computer’s hardware

4. Run Microsoft Office Diagnostics

  1. Press Windows and type Microsoft office diagnostics. From the search result, click on Microsoft Office Diagnostics to launch the program.microosft-diagnostics the operating system is not presently configured to run this application
  2. Follow the prompts and click on Start Diagnostics.

Another way of fixing the error problem is by running Microsoft Office diagnostics. This troubleshooting tool identifies the problem and fixes it to ensure the smooth running of Microsoft Office.

5. Reinstall Microsoft Office

  1. Press Windows + I to open Settings then go to Apps.apps the operating system is not presently configured to run this application
  2. Search for the Microsoft Office app, click it and select Uninstall.uninstall-microsoft-off the operating system is not presently configured to run this application
  3. Go to the offical website and download Microsoft Office.
  4. Install Microsoft Office and then reboot your PC.

Note: In addition, you will also require genuine license/activation details in order to proceed with the fresh installation of Microsoft Office.

Also, you can uninstall Microsoft Office package on your PC and install a fresh copy on your Windows 10 PC. Reinstalling Microsoft Office can get rid of the error problem on your PC.

To safely uninstall Microsoft Office we suggest you try a professional uninstaller tool that will remove any application in seconds.

Then, you have available the solution of entirely removing the wanted application, using the best uninstaller software for Windows 10 PCs.

Take a look at our article for more info on how to completely remove Office from your Windows PC. Alternatively, if you want to know how to remove software leftovers, check out our dedicated post.

6. Run the Program in compatibility mode

  1. On the desktop or where the actual application is, right-click the application shortcut and click Properties.prop-desktop the operating system is not presently configured to run this application
  2. Here, select the Compatibility tab, and check the box Run this program in compatibility mode for: From the drop-down list, select any older edition of Windows to run the program with.run-compatibility the operating system is not presently configured to run this application
  3. Lastly, click OK to run the program.

Some applications not optimized for newer operating systems cannot adapt which causes the error message. By running your program in compatibility mode, the Windows 10 OS will enable the application to run in an older version of Windows.

Note: You can also use Compatibility Administrator; this is one of the latest tools by Microsoft which fixes programs that do not run Windows. It makes the program compatible with Windows PCs. You can download Compatibility Administrator and install it on your Windows PC.

For more information concerning how to use Compatibility Administrator, visit the official Microsoft Compatibility Administrator website.

7. Update your drivers

  1. Right-click the Start icon then select Device Manager.device-manager-w10 amd driver install problems
  2. Expand each section one by one then right-click the driver and select Update driver.

Many users confirmed they fixed this problem by updating their drivers. So, go ahead and install the latest driver updates for your GPU, peripherals, and so on. Restart your computer for the changes to take effect.

If you want to manage all your drivers more efficiently, you can update or install any drivers from your PC with automated software like DriverFix.

How do I fix The operating system is not presently configured to run this application on Windows 11?

  1. Press Windows + I then scroll down to the Troubleshoot option and click it.troubleshoot-opt-w11 0xa00f4244 nocamerasareattached
  2. Next, click Other troubleshooters.
  3. Lastly, go to the Windows Store Apps troubleshooter and click Run next to it.apps-run the operating system is not presently configured to run this application

In conclusion, make sure you have a genuine Microsoft Office key before you proceed with any of the fixes that require installation repair.

Do you have any questions regarding this guide? Feel free to leave them along with any other suggestions in the comments section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

Hello.
I have the problem with starting Zipped Arduino program.

I wanted to download one of old versions arduino-1.6.5-r5-windows on my windows 10 Home edition x64. OK I unzipped folder. So when I open arduino.exe application in unzipped folder and after I get error message from Arduino, which says:

This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.

After I press OK button, message goes away, but app does not appear at all.

I thought I don’t have java on my new PC. However, the problem is still present.
OK. I deleted zipped version and tried to install via Windows Installer. However, it has NSIS Error which says : Error launching installer. So I had to delete installer file too.

I tried all the same with version ARDUINO 1.8.12 and the same steps had failed too. so I got to delete folders and installer file too again.

I even tried to bring version of arduino-1.6.5-r5-windows zipped version from my laptop to PC on usb stick. Same error. So unfortunately got to delete zipped and unzipped folders.

After that I went to Microsoft Store. I found it, downloaded. The version is ARDUINO 1.8.12. It opens and shows all functions that should be. However, I got a problem with adding up zipped library which I downloaded from www.OSEPP.com official website.

I wrote about my problem yesterday in Arduino forum, but no answer yet.

Please help. Could anyone tell which Windows version is OK and which version of Java is good to work with Arduino application?

Best regards!

WindowsRegular Zipped version problem 1
WindowsInstaller problem 2
Arduino from Windows Store does not manualy add zipped library from oficial website OSEPP problem 3

Okay, so I’m trying to code & upload to an Arduino with VS Code (Visual Studio Code). When I try to upload or verify my Arduino code, this error pops up:

enter image description here

If you cannot see that, it says:

[Starting] Verify sketch - ir_remoteir_remote.ino [Warning] Output path is not specified. Unable to reuse previously compiled files. Verify could be slow. See README. Arduino: This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted. [Error] Exit with code=1

Help will be greatly appreciated. I started messing around with the Arduino a few weeks ago, and I’ve been using VS Code for a long time.

ALSO:
Code works completely fine on Arduino IDE, I want to be able to code and upload to an Arduino with VS Code.

I also tried posting this on the Arduino Forum, and no one replied.

Arduino Forum

Loading

Написал программу на Java.

Использовал:
1. intelliJ IDEA
2. jdk / jre 1.8.8_144
3. Launch4j
4. Inno Setup Compiler

На моем компьютере все работает. Программа устанавливается и работает как надо. Но на других выдает ошибку: » this application was configured to use a bundled java runtime environment but the runtime».

С чем она может быть связана и какие пути ее устранения ?

может у них не установлеа машина?## ##2

Всего 1 ответ.

Другие интересные вопросы и ответы

Есть ли программа, которая блокирует сайты, соцсети и приложения на определенное время?

Алиса Тян54

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

StayFocus
Можно выставить время в таймере, через которое сайты, предварительно вами занесённые в список, заблокируются (при выставлении времени меньше стандартного, расширение вас похвалит)).
Также можно поставить «термоядерный режим», когда блокируются абсолютно все сайты, кроме разрешённых.
Фокус мной особенно любим.

Nanny
Принцип тот же, но больше настроек и возможность выбора определённого промежутка времени для блокирования.

RescueTime (в дополнение)
Сайты не блокирует, но поможет проанализировать посещённые сайты и высчитать процент продуктивности, сравнив результаты с огромным количеством пользователей по всему миру

Sam Barton28

Всего 5 ответов.

Ошибка в программе на Java: » this application was configured to use a bundled java runtime environment but the runtime»

Написал программу на Java.

Использовал:
1. intelliJ IDEA
2. jdk / jre 1.8.8_144
3. Launch4j
4. Inno Setup Compiler

На моем компьютере все работает. Программа устанавливается и работает как надо. Но на других выдает ошибку: » this application was configured to use a bundled java runtime environment but the runtime».

С чем она может быть связана и какие пути ее устранения ?

Guest7

Может у них не установлеа машина?

Гость3

Всего 1 ответ.

Как решить ошибку в Minecraft не удалось найти java exe?

Гость1

Чтобы исправить данную ошибку, достаточно будет установить виртуальную машину Java. Для этого перейдите на официальную страницу загрузки JRE, примите лицензионное соглашение, кликнув в чек-бокс «Accept License Agreement» и нажмите на ссылку для скачивание для вашей операционной системы. Далее запустите установщик и следуйте инструкциям.

Артём Г.5

Если Java уже установлена — попробуйте ее переустановить (скачайте версию не ниже 7, удалите установленную, установите новую), если нет — просто установите, опять таки, не ниже 7 версии.Кроме того, вероятно, нужно указать Майнкрафту путь к программе, для того, чтобы его узнать, вам нужно открыть в проводнике путь до java.exe и скопировать то, что будет в адресной строке.Майя Э.7

Всего 2 ответа.

Что делать если при установке симс 4 у меня выходит ошибка Runtime error (at-1:0):
Сannot Import EXPANDCONSTANT.

Гость6

От администратора попробуйте. Я так понимаю, просто не мовозможно найти путь или прав не хватает на свершения действия. Если не поможет, лучше переустановить винду, т.к. это уже похоже в системе что-то не так. Если это только с симс 4, попробуйте другую раздачу.The Sims 4 RU3

Всего 1 ответ.

Что делать, если пишет A java exception has occurred?

Ошибка возникает в игре Minecraft.

elena-kh1

Это значит, что приложение (в данном случае Minecraft) «словило» исключение. Исключение, в данном случае, это непредвиденная ошибка или непредвиденное поведение одного или нескольких программных компонент. Скорее всего, это может быть связанно с устаревшей версией JVM (Java Virtual Machine) или JRE (Java Runtime Environment). Как вариант, переустновить (или обновить) JVM и JRE до актуальной версии. Сделать это можно здесь.

Если это не помогло — то может быть, есть вариант, скачать новый дистрибутив Minecraft (новую сборку), т.к. текущая сборка оказалась по тем или иным причинам несовместима с текущей версией JVM (например, JVM сама обновилась).

Также возможны проблемы с драйверами видеокарты.

Хорошо-бы понять, при каких действиях пользователя, приложение «ловит» исключение, и что за исключение она ловит (скриншот например).

Mitra­ndir2

Всего 2 ответа.

  • Ошибка tire pressure monitor
  • Ошибка this application requires one of the following versions of the net framework
  • Ошибка timeout was reached во время загрузки
  • Ошибка this application has unexpectedly quit
  • Ошибка time for regular service