how to setup java runtime environment on windows 10
I got windows 10 some days ago but when I tried to run an application (.exe), it gave the following error message
the registry refers to a nonexistent Java Runtime Environment instalation or the runtime is corrupted. The system cannot find the path specified.
Does anyone knows how to fix this, I assume that I have to change something in the environment variables, but I cannot find good information about it for windows 10.
2 Answers 2
This happens because you have some entries in your registry which point at invalid paths.
- Check the enabled Java Runtime versions from the Java Control Panel( java tab under the Java Control Panel).
- Delete the other jre(not jdk) version’s from the Java installation directory (mostly C:\Program Files\Java ).
- Open the registry editor ( Win + R then type in regedit ).
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.x (here x is the jre version).
- Verify the paths(values) of the JavaHome key under each folder of 1.x whether they are actually present under the given directory.
You’ll find some invalid entries there, just delete those entries (corresponding folder under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\ ) and reinstall your exe application.
I had the same issue recently when trying to run freemind. the way i solved it in win10 was this:
Using OO RegEdit I searched for java runtime environment and found it under
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment
rather than all the places that other articles mention for win7 . etc.
I removed the invalid entries for jre7 and the app started working immediately. HTH
Java Runtime Environment not found error
I’ve been working on Aptana Studio and some JRE required software for a bit of time now , but since yesterday something quite odd happened, as suddenly the software that requires it threw me an error No Java virtual machine was found . Last thing I did before that was restoring my system files permissions thought safe mode as I had some trouble with that , could this have anything to do with it ?
I’ve tried installing JRE once again , no results. However when I run
I do get the following
Aptana gives me the following error
And other software such as Spine won’t simply start.
My .bash_profile is the following :
The output of echo $PATH is the following
The output of echo $JAVA_HOME is the following
And Java invocations on the terminal work.
Guidance will be highly appreciated.
4 Answers 4
After trying Peter’s suggestion the problem persisted but now in another context : «/System/Library/Frameworks/JavaVM.framework» does not contain the JNI_CreateJavaVM symbol»
After struggling for many hours, and reading about people with the same issue opting to re-install the entire OS , decided to examine the issue from another perspective, the thing I first mentioned here that I believe went unnoticed was that I restored my permissions before this happening, so what I did was the following.
- After reading a bunch of articles about Apple no longer providing Java support themselves but Oracle providing it, reasoned through it and realized that perhaps paths (Often called directories) from Apple’s final Java release may have not been strictly the same as the new Oracle releases, so decided to wipe out all recent Oracle Java Runtime Environment that I found on /Library/Java/JavaVirtualMachines and delete the Java Applet Plugin from /Applications (Just search for it on your /Applications path) .
- Installed Apple’s last stable release from the following link.
- Located where Apple located their Java releases : /System/Library/Frameworks/
- My particular interest was the Java Runtime Environment , so I explored the JavaVM directory on /System/Library/Frameworks/
- Found out that all Apple’s JRE previous releases reside on a directory called Versions that is within /System/Library/Frameworks/JavaVM.framework directory, here’s where I noticed something rare, for some reason at the moment I restored file permissions from my Disk Utility Application , this directory was made inaccessible (By not giving the root user permissions to access anything in itself).
- Went to my terminal console and inside the JavaVM.framework directory modified the permissions to that directory to be accessible for all users by running the following command chmod -R 777 Versions .
After executing these actions I went straight to my JRE-Required software and attempted to open it , success!
Things to learn from the issue.
- Oracle’s Java JDK/JRE are located in different paths from Apple’s. (If you are struggling with some other issue, verify your Java version to determine your Java installation directory)
- Apple’s disk utility application might define different permissions than expected for some files. (After restoring permissions verify that everything’s working fine, if not this may be the cause of your problems.)
Как решить ошибку в Minecraft не удалось найти java exe?
Чтобы исправить данную ошибку, достаточно будет установить виртуальную машину Java. Для этого перейдите на официальную страницу загрузки JRE, примите лицензионное соглашение, кликнув в чек-бокс «Accept License Agreement» и нажмите на ссылку для скачивание для вашей операционной системы. Далее запустите установщик и следуйте инструкциям.
Не запускается сервер Minecraft, выдает ошибку соединения. Что делать? Подробности см. ниже.
Способ 1)Проверь если ли подключение к сети
Способ 2) Проверь работает ли сам сервер в майне
Способ 3) Временно отключи антивирус или брандмауэр,если есть и то и
другое то отключи оба
Способ 4) Измени настройки DNS
Способ 5) Перезагрузи твой роутер(На роутерах обычно есть кнопка перезагрузки как на пк,а если такой кнопки нету то нужно выключить роутер на 10-20 секунд и снова включить через кнопку включения если такая есть,кнопки находятся сзади)
Способ 6) Попробуй использозвать статистический IP адрес
Способ 7) Скачай Minecraft с другого сайта,веб-сайта вообщем скачайте с другого источника.
1 9 · Хороший ответ
При запуски программы ошибка из-за отсутствия msvcp120.dll, что делать? Как исправить?
Этот файл критически важен для работы большинства игр и приложений. Чаще всего из-за его отсутствия возникает ошибка в следующих играх — Симс 4 (Sims 4), Ведьмак 3 (Witcher), Сталкер (Stalker), DayZ, Sniper Elite 2 3 4, Dead Air, Geometry Dash, Dota 2 .
Почему возникает?
- Вирус повредил файл, удалил его — рекомендуем запустить антивирусное сканирование;
- Пользователь сам удалил нужный файл (случайно, или кто-то помог);
- Файл поврежден в результате сбоя в работе Windows.
Решений есть только два. И практически всегда они работают!
- С официального сайта Microsoft скачиваем набор библиотек Visual Studio 2013 подходящей разрядности (32 или 64 bit):
- Скачанный файл EXE запускаем, устанавливаем и перезагружаем компьютер! ГОТОВО!
СПОСОБ №2
Нужно скачать архив (ссылки будут далее), распаковать, внутри будет отдин файл, поместить его в папку по пути:
C | Windows | System32
C | Windows | SysWOW64
- Если отсутствует msvcp120 dll, скачать для Windows 10 x64 можно здесь (также подойдет и для предыдущих редакций OS) — https://clickload.ru/msvcp120-64bit
- Для 32 bit файл немного отличается, поэтому загружаем отсюда — https://clickload.ru/msvcp120-32bit
Перезагружаем компьютер! Ошибки нет! Радуемся! Полная инструкция — https://it-tehnik.ru/software/games/msvcp120.html
Вот Вам веселая музыка для поднятия настроения: