Как исправить ошибку this application requires

Содержание

  1. Что делать? Устанавливать или нет?
  2. this application requires a java runtime environment (different POV) #238
  3. Comments
  4. dhamann commented Jul 20, 2020 •
  5. aahlenst commented Jul 20, 2020
  6. hendrikebbers commented Jul 20, 2020
  7. dhamann commented Jul 20, 2020
  8. hendrikebbers commented Jul 20, 2020
  9. hendrikebbers commented Jul 20, 2020
  10. hendrikebbers commented Jul 20, 2020
  11. dhamann commented Jul 20, 2020
  12. dhamann commented Jul 20, 2020
  13. aahlenst commented Jul 21, 2020
  14. douph1 commented Jul 21, 2020
  15. dhamann commented Jul 21, 2020 •
  16. dhamann commented Jul 21, 2020 •
  17. dhamann commented Jul 21, 2020
  18. douph1 commented Jul 21, 2020
  19. douph1 commented Jul 21, 2020
  20. douph1 commented Jul 21, 2020
  21. dhamann commented Sep 13, 2020 •
  22. aahlenst commented Sep 14, 2020
  23. ttimasdf commented Feb 24, 2021 •

Что делать? Устанавливать или нет?

При запуске приложения Snaz вместо приложения, выскакивает табличка:

This application requires one of the following versions of the .NET
Framework:
.NETFramework,Version=v.4.5.2

Do you want to install this .NET Framework version now?

При нажатии ДА, перекидывает на сайт и скачивается программа NDP462-KB3151802-Web.exe

Что делать если эта ошибка? Предупреждения:

Программа установки может не работать надлежащим образом, поскольку на этом компьютере недоступна служба Центра обновления Windows.

Что делать если эта ошибка? Предупреждения:

Программа установки может не работать надлежащим образом, поскольку на этом компьютере недоступна служба Центра обновления Windows.

Что делать если эта ошибка? Предупреждения:

Программа установки может не работать надлежащим образом, поскольку на этом компьютере недоступна служба Центра обновления Windows.

Что делать если эта ошибка? Предупреждения:

Программа установки может не работать надлежащим образом, поскольку на этом компьютере недоступна служба Центра обновления Windows.

ТОЛЬКО СЕГОДНЯ И ТОЛЬКО ДЛЯ ТЕБЯ ПЕРЕВОЖУ ТЕКСТ В ОНЛАЙН ПЕРЕВОДЧИКЕ БЕСПЛАТНО.

This application requires one of the following versions of the .NET
Framework:
.NETFramework,Version=v.4.5.2
Do you want to install this .NET Framework version now?

Для этого приложения требуется одна из следующих версий .NET
Фреймворк:
.NetFramework, Version = v.4.5.2
Вы хотите установить эту версию .NET Framework сейчас?

Источник

this application requires a java runtime environment (different POV) #238

TL;DR: How to handle registry magic when using zip distribution? (for example after installing via scoop installer)

I do not know where to address my question (am aware this repo is for the installer), please be kind if you think this is the wrong place. i am open to recreating this issue somewhere else seen better fitting. but as i found the personally most fitting issue in this repo that is handling technicalities concerning the openjdk windows registry stuff i thought i post this issue here.

With issue #64 you created a way to use the installer to handle the registry magic . which is great! only i do not use the manual installer but use scoop to install java. scoop does not use the msi installer but extracts the zipped distribution . is there a way to reproduce the things the installer does concerning creation of the the required registry entries?

If there currently is no way . could the functionality be transformed to a utility that could be distributed inside the zipped distribution?

The text was updated successfully, but these errors were encountered:

JAVA_HOME is an environment variable an can be set using the GUI. Enter «environment variable» into the search field of Windows and the right option should pop up. The registry entries can be created manually using regedit. See https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-47C269A3-5220-412F-9E31-4B8C37A82BFB for the entries common Java software expects.

I assume setting JAVA_HOME is not the part that was asked here. If I understand @dhamann correctly he wants to add the JAR mimetype to be executed by Java for example. Is that right?

hi both of you, @aahlenst you are thinking in the right direction, @hendrikebbers you too!

. actually i would like to be able to do the stuff the installer does to the registry by running a utility that sets the values for the version that is distributed with the zip file.

running a jar via doubleclick is one use case, another would be running an executable file generated by launch4j

@aahlenst i probably would need to do the stuff you pointed me to . for every installed java version and for every next coming update again? how do other people using the zipped distribution handle this? (please point me to a better target for my question if the openjdk-installer repo is a not fitting place for this, i just do not know where to ask)

Is scoop like home-brew for windows? The project has 11k stars on GitHub. Maybe we should think about providing a script for scoop?

Looks like this is already available: https://github.com/ScoopInstaller/Java
Maybe the scripts just do not everything that the installer does. Looks like it sets the JAVA_HOME env but does no windows registry mutations: https://github.com/ScoopInstaller/Java/blob/master/bucket/adopt11-hotspot.json

ScoopInstaller/Scoop#3412 Scoop does not provide registry support at the moment.

hmm . i just tried it with the current installer . and it is like i want everything except the root node 🙂

would it be possible to put all the sub-entries of the root node in a second node that just sets the configuration? It could use the path supplied like shown in the screenshot below (i just painted that as a suggestive idea, the current dialog is also shown BELOW for reference)
Idea for different Dialog (two root nodes):

Current Dialog (one root node):

JAVA_HOME is an environment variable an can be set using the GUI. Enter «environment variable» into the search field of Windows and the right option should pop up. The registry entries can be created manually using regedit. See https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-47C269A3-5220-412F-9E31-4B8C37A82BFB for the entries common Java software expects.

hi @aahlenst the supplied info in the deep link is probably just the tip of the iceberg, i suppose? would i not also need some kind of reg entry for the directory that this keys point to? orcl url sadly does not mention anything like that there

dear @douph1 please excuse my «pulling you in» by mentioning . i read your very informative comments (for example: #64 (comment)) . currently the installer executes logic to manipulate registry values directly, right? (via wix-tooling?)

Could the installer maybe also create windows cmd / batch files that make it possible to re-execute that same registry-setting commands for the specific version? (although I just peeked into douph1@c79c7e8 and that seems rather complicated 🙂 ) Thank you for putting your time into this solution there, btw. Seems really challenging to find «the right» solution!

I’m not yet sure what the exact problem is. Therefore it is hard to recommend something and even more so to take action.

What do you want to achieve? Beyond applying «registry magic» to the ZIP files? Do you need multiple Java versions and an easy way to switch between them? Why is using an MSI not an option?

To write «Oracle Java Key» you must write to
HKLM only ( be root required )
The key path is based on :

  • Major version (1.8 or later)
  • JRE vs JDK
  • know if you use Wow > Wow6432Node

But a key must not be overridden with an older key ( always pointed to the latest/newest Java )

As it depends of the version intended to be installed and already installed, just write reg key without the binary is useless and or/copy/paste reg key from one host to another is a bad idea.

.jar and .jnlp apply to HKMU (switches between hklm and hkcu depending on machine or user installation)

.jnlp apply only to Java 8

Adding/splitting the installer features in two groups will break actual feature level compatibility. So no

You can probably use a tool to monitor wich reg key is written by the installer
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
and then extract this key as registry patch
or create a list of command with https://docs.microsoft.com/fr-fr/windows-server/administration/windows-commands/reg-add

I’m not yet sure what the exact problem is. [. ]

Reproducing the windows registry settings that get set by the installer after having extracted (either by hand or by using a tool like scoop) the zip-distribution.

What do you want to achieve? [. ] Do you need multiple Java versions and an easy way to switch between them?

Why is using an MSI not an option?

it is an option. i can do it via the installer. i thought there might already exist a way to have every needed jdk installed and switch the windows registry settings separately.

To write «Oracle Java Key» you must write to
[. ]
[. ]
.jnlp apply only to Java 8

@douph1 thank you for all the input!

Adding/splitting the installer features in two groups will break actual feature level compatibility. So no

snap, i liked the idea 🙂

yes, that is what i tried yesternight . i tried to use a tool called regshot, which produced a bit too much noise (many background regchanges also in delta result) . hmm .

would you maybe be able to suggest relevant reg-branches i should monitor for changes, @douph1 ? I currently built the following reg-file . and am trying now to switch the current version. But i probably have not grasped the picture well enough.

but what about [HKLMSOFTWAREWOW6432NodeJavaSoft]? Do i need both? (Win10 Pro x64)

I am starting to fear this rabbit hole.

A batch file supplied with the zip distro that sets the right entries is probably also too complicated?

//last edit: please excuse the edit-storm. it has ended now.

i re-read the commandline parameter section of https://adoptopenjdk.net/installation.html#windows-msi and tried a different angle (and already thought bad of me not having thought of that before)

I tried to omit the FeatureMain option when calling the msi-installer . so for example:

could maybe have done everything except installing files to target dir. But that did not produce the envisioned result.

uh this is hard.

but what about [HKLMSOFTWAREWOW6432NodeJavaSoft]? Do i need both? (Win10 Pro x64)

no. it is intended for Java 32 on Win 64

Your title «this application requires a java runtime environment» seems linked to «launch4j»
and as mentionned in #64 launch4j can but don’t rely on JAVA_HOME by default.

By default it look only onto JavaSoft
so you must look/create (depending of the java version)
«CurrentVersion» on

  • HKEY_LOCAL_MACHINESoftwareJavaSoft JRE
    or/and
  • HKEY_LOCAL_MACHINESoftwareJavaSoft Java Runtime Environment (for 1.8)
    and/or
  • HKEY_LOCAL_MACHINESOFTWAREJavaSoft JDK
    and/or
  • HKEY_LOCAL_MACHINESOFTWAREJavaSoft Java Development Kit (for 1.8)

into a subkey corresponding to this «CurrentVersion»
create a key «JavaHome» with the JAVA_HOME ( = INSTALLDIR (without bin ) )
and eventually (but I don’t know if launch4j required it ) «RuntimeLib» if it is a JRE with the DllPath as here https://github.com/douph1/openjdk-installer/blob/master/wix/Includes/OpenJDK.Variables.wxi

and for file association with exe you must certainly look at microsoft documentation if you intended to rewrite all the magic as Wix-installer does
Just to name a «magic» thing ..
https://stackoverflow.com/questions/51715292/best-way-to-get-file-type-association-in-windows-10-from-command-line

on systems running Windows 8 or later
..a new registry key was introduced and Windows now writes the user choice to
«UserChoice»

HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER

Both the «App Paths» and «Applications» registry subkeys are used to register and control the behavior of the system on behalf of applications. The App Paths subkey is the preferred location.

I’m even not sure if WIX/our usage of WIX installer use the new «App Paths» reg key
as I have already seen that .jar file association don’t work always.

After some weeks of inactivity i just re-read the whole thread and with this issue still being open i feel a bit of «something to do left» . so i would like to mention the rather hidden question of «my opening post» and leave the action of closing or further working on/with something to you. (You could also ask me to close it if that is the way to go)

If you think that this (something executable that would be included in the zip distribution) would be something that might be creatable . should i create a new issue asking for relating to just that (and relating to this issue as documentation of the thought process)?

In my first post i asked

«. is there a way to reproduce the things the installer does concerning creation of the the required registry entries?»

and in hindsight i might have clarified that i was not thinking of crafting the reproduction myself but that something like an executable script (or something similar) already might exist that would be included in each zip distribution.

@douph1 thank you especially for the last three thorough replies! Via your input i now have a better understanding of the windows client side peculiarities of the jre/jdk installation. Or the challenges applications have to find out about the configured java binaries to run with.

Thanks, too, to everyone who took the time to inspect this Issue. 🙂

If you really want to, you can create a PowerShell or batch script that does the registry alterations. But why? If you want that kind of automation, the MSI has you covered and even provides multiple safeguards you had to re-implement in the script. With something like scoop in the mix, it gets really hairy because you need to remove/update those entries. This is something that has to be solved by the application that manages you JDK installations.

For the record: I don’t think it makes sense for scoop or a similar tool to use the MSIs. VS Code does it and judging by the bug reports we get here, this wasn’t the right choice. If your tool does version management of JDKs, let your tool handle the registry stuff.

I just do some reverse engineering to a 32 bit executable produced by java. In fact, it just iterate over a hardcoded list of Registry path and iterate the subkeys inside it. and any one of them exists, it will work. The CurrentVersion key is in fact not check at all. The executable check the subkey name as version string, that ANY version above 1.8.0_45 will work so I randomly choose 1.11

So, All I need is put the following content inside a javahome.reg file, and double click it. and all exes requiring java works smoothly from now on.

You may tweak it a bit to suit your scenario. My openJDK version is jre-15.0.2.7-hotspot . besides, 64 bit or 32 bit doesn’t matter at all, so don’t care about WOW6432Node

Part of the list that any java executable will checked through:

Источник

Не могу разобраться с Java Runtime Environment

Нашёл на просторах интернета интересную прогу — Alchemy. Если вкратце — генератор творческого беспорядка чтобы далее его «упорядочить» и что-то из этого создать. Или же когда охота порисовать, а идей в голове нет.

Работает она на Java. И в этом проблема. При запуске она мне пишет:

«This application requires a Java Runtime Environment 1.5.0

И один вариант ответа — Ok.

Хотел прикрепить картинку, но она почему-то не прогружается.

И я не понимаю, что она от меня хочет. При нажатии на Ok кидает на сайт установки Java. Я скачиваю оттуда новую версию (8 211), но к иному результату она не приводит.

Я так понимаю, мне нужно найти именно Java Runtime Environment? Или тут проблема в другом?

Вопрос решён. Решением послужило удаление предыдущей Java и установка 64-битной версии. Большое спасибо за помощь Тимуру Богданову :)

I have Launch4j and JDK installed on my computer and I am trying to convert jar-file to exe. When I start Launch4j I get the following error:

This application requires a Java Runtime Environment 1.6.0

How can I fix this? What is the Launch4j search strategy to find installed jres/jdks?

JDK version:

java -version

Output:

java version «14» 2020-03-17 Java(TM) SE Runtime Environment (build
14+36-1461) Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed
mode, sharing)

I have JDK-path in both variables PATH and JAVA_HOME. I tried to uninstall the JDK and install JRE, but I first need to compile *.java to *.class files with the javac command. So in this case I have different versions of JDK and JRE.

The official documentation says:

Launch4j requires an xml configuration file for each output
executable.

So I can use jre tag with jdkPreference attribute to specify a preference for a public JRE or a private JDK runtime in configuration file. But how can I add this to build.xml file?

build.xml:

<project name="launch4j" default="compile" basedir=".">
    <property name="src" location="src" />
    <property name="lib" location="lib" />
    <property name="build" location="build" />
    <property name="jar" location="./${ant.project.name}.jar" />
    <property name="launch4j.dir" location="." />
    <property name="maven" location="maven" />

    <path id="dist.classpath">
        <pathelement path="${build}" />
        <fileset dir="${lib}">
            <include name="**/*.jar" />
        </fileset>
    </path>

    <target name="init">
        <tstamp />
        <mkdir dir="${build}" />
    </target>

    <target name="compile" depends="init" description="compile the source">
        <javac srcdir="${src}" destdir="${build}" classpathref="dist.classpath" source="1.6" debug="on" includeantruntime="false" />
        <copy todir="${build}/images">
            <fileset dir="${src}/images">
                <include name="**/*" />
            </fileset>
        </copy>
        <copy todir="${build}">
            <fileset dir="${src}">
                <include name="**/*.properties" />
            </fileset>
        </copy>
    </target>

    <target name="jar" depends="compile" description="create jar">
        <fileset dir="${lib}" id="lib.dist.fileset">
            <include name="**/*.jar" />
        </fileset>
        <pathconvert pathsep=" " property="dist.classpath" refid="lib.dist.fileset">
            <map from="${lib}" to="./lib" />
        </pathconvert>
        <!-- Put everything in ${build} into a jar file -->
        <jar jarfile="${jar}">
            <fileset dir="${build}" excludes="**/messages_es.properties" />
            <manifest>
                <attribute name="Main-Class" value="net.sf.launch4j.Main" />
                <attribute name="Class-Path" value=". ${dist.classpath}" />
            </manifest>
        </jar>
    </target>

    <target name="demo" depends="jar" description="build the demos">
        <ant dir="./demo/ConsoleApp" inheritAll="false" />
        <ant dir="./demo/SimpleApp" inheritAll="false" />
    </target>

    <target name="clean" description="clean up">
        <delete dir="${build}" />
        <delete file="${jar}" />
        <ant dir="./demo/ConsoleApp" target="clean" inheritAll="false" />
        <ant dir="./demo/SimpleApp" target="clean" inheritAll="false" />
    </target>

    <target name="switch-to-maven" description="switch project to maven">
        <copy todir="." overwrite="true">
            <fileset dir="${maven}">
                <include name="**/*" />
            </fileset>
        </copy>
        <delete dir="${lib}" />
        <mkdir dir="./target" />
    </target>
</project>

Thanks

Try these fixes to resolve Java Runtime Environment not found error

by 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


Updated on September 19, 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

  • A Java Runtime error might appear if you have installed an older JRE software.
  • If you have wondered how to fix Java issues, reinstalling it can help you.
  • To fix the Java Runtime Environment not found error, make sure to have the latest version of Java.
  • Download the JRE version that corresponds with your system type so you won’t deal with other types of Java issues.

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.

The Java Development Kit (JDK), the Java Virtual Machine (JVM), and the Java Runtime Environment (JRE) form a trio of Java platform components for developing and running Java apps.

A runtime environment is a piece of software designed to run other software. For example, as the runtime environment for Java, the JRE contains the Java class libraries, the Java class loader, and the JVM.

So if you don’t have JRE installed or you have an older version of the software, you might encounter one of the following messages:

  • Error: Could not find Java SE Runtime Environment – you don’t have the Java SE version installed on your system
  • This application needs version 1.x or higher of the Java Runtime Environment – you should update your Java version to the latest you can find on the official website
  • A Java Runtime Environment(JRE) or Java Development Kit (JDK) must be available to run this app – like the first error, check if you have installed JRE or JDK and if not, install them

Today’s guide will explore the most efficient and easy methods to resolve the Java Runtime Environment not found and the other similar errors with Java. Read on for more details.

Why is JRE not installed?

In Windows and macOS, installing the Java Developmental Kit (JDK) in previous releases optionally installed a Java Runtime Environment (JRE).

However, with JDK 11, Oracle removed JRE to be installed optionally. Therefore, with JDK 11 release, the JRE or Server JRE is no longer offered, and only the JDK is provided.

Also, the Java Runtime Environment not found it could be caused by several other reasons, which we have listed below.

  • Java is not installed on your PC.
  • Java installation was not completed due to some errors.
  • The environment variables of Java are not set.
  • You might have more than one Java Runtime installation.
  • A Windows misconfiguration can also trigger this problem.

How do I fix the Java runtime environment not found?

1. Run Windows troubleshooter

  1. Select Start, and click on Settings.
  2. Choose Update & Security, and then click Troubleshoot.
  3. Select the type of troubleshooting you want to run, then select Run the troubleshooter.
  4. Allow the troubleshooter to run and then answer any questions on the screen. 

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

You can try the recovery options if you see a message that no changes or updates are necessary. This is a built-in troubleshooter tool from Windows 10.

2. Download Java Runtime Environment (JRE)

  1. Download JRE from the official website.
  2. Choose if you need a 32bit or a 64bit architecture of JRE based on your PC specifications.
  3. Click on the Agree and download button to start the actual download.
    download JRE

If you don’t know which version of Java is the correct version for your system, you can find out by searching in the Start menu the term System Information.

It would be best if you opened the first option that appears after the search and then checked the value under System Type (32-bit or 64-bit).

Read more about this topic

  • Could not create the Java virtual machine [Fixed]
  • Runtime Error R6025: Fix it With These 4 Easy Solutions
  • What is Segmentation Fault: 11 & How to Fix it
  • Could Not Create the Java Virtual Machine: 4 Easy Fixes
  • How to Fix ADB Command Not Found or Inaccessible [5 Ways]

3. Install Java Runtime Environment (JRE)

  1. Right-click on the downloaded JRE setup file.
  2. Select Run as administrator and accept the installation prompt.
  3. Click on the Install button to complete the installation.Install JRE
  4. You will receive a message that the installation was successful. Next, click on close the complete the installation and close the window. completed JRE install

We recommend you check if there is a new Java update each time you encounter this issue. Unfortunately, the software will not update automatically, so you must perform this task manually.

How can I fix Java Runtime Environment not found on Windows 11?

The above solutions also work perfectly well for Windows 11 PC. So, to summarize the answers, here’s what you can do to fix the Java Runtime Environment not found on Windows 11.

  • Uninstall all Java versions from your PC and install the latest one from the official website.
  • Configure the Environment Variables for Java on your PC.
  • Reset your PC.
  • Check for viruses or malware.

Where is JRE located?

  1. Open the Start menu.
  2. Click on Control Panel.unexpected store exception windows 11
  3. Select Java.click on Java in programs to open Java settings
  4. Switch to the Java tab.
  5. Click View.
  6. Check the Path column for the version of the JRE you have installed.
  7. You will see a path. For example C:appsjdkjrebinjavaw.exe
  8. So, the path is C:appsjdkbin

That is it. You should now have the latest version of Java Runtime Environment on your PC and no longer receive the error message.

Please write us in a comment below if these solutions helped you or if there are any other suggestions that we should include in our article.

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

Этот адрес электронной почты защищён от спам-ботов. У вас должен быть включен JavaScript для просмотра.
+7 (495) 215 10 82
ООО «Ново Биай» © 121205, Москва, территория инновационного центра «Сколково», Большой бульвар, 42, стр. 1, этаж 2, офис 2.177, ресепшн 3

Исследования осуществляются Novo BI при грантовой поддержке Фонда «Сколково»

 Исследования осуществляются Novo BI при грантовой поддержке Фонда «Сколково»
ИНН 7813219842
Государственная аккредитация Минкомсвязи России № 8353

Проблемы с лаунчером

Проблемы при запуске лаунчера

Не запускается игра? На этой странице собраны наиболее распространённые ошибки.
Чаще всего проблема кроется в некорректной версии Java, либо недостаточном количестве оперативной памяти, либо в антивирусе.

Прежде всего, рекомендуется сделать следующие шаги:

  • 1) Запустить лаунчер от имени администратора (ПКМ->Запуск от имени администратора)
  • 2) Удалить старую Java и установить новую под разрядность своей операционной системы ( Windows 64bit , Windows 32bit )
  • 3) Отключить антивирус или добавить лаунчер в список исключения
  • 4) В настройках лаунчера выделить 1,5 Гб оперативной памяти — этого должно хватить для комфортной игры. Если вы выделите памяти слишком много, вашему ПК может не хватить ресурсов для корректной работы
    приложения. Для версий 1.12.2 и 1.16.5 может потребоваться больше ОЗУ (пробуйте 2 Гб, 2,5 Гб и т.д.)
  • 5) Перезапустить ПК
  • 6) Полностью удалить папку с игрой и заново скачать лаунчер с сайта и установить его с нуля
  • 7) Если нет соединения с лаунчером (или с сайтом), попробуйте изменить свой DNS с помощью программы DnsJumper (Fastest DNS -> … Test -> Apply DNS -> Закрыть окно -> Apply DNS)
  • 8) Если нет соединения с лаунчером (или с сайтом) и смена DNS не помогает, попробуйте VPN

Если указанные выше действия не помогли вам, то попробуйте включить режим отладки в лаунчере и/или найти свою ошибку в списке ниже и следовать рекомендациям.
Если вы не нашли свою ошибку, либо решение вам не помогло, создайте тикет в Дискорд в канале «поддержка», мы постараемся вам помочь

Проблема соединения лаунчера с сервером

Скрин лаунчера

Инструкция DnsJumper

Причина возникновения:
Отсутствие нормального соединения лаунчера с нашим сервером

Возможные решения:

  • 1) Попробуйте изменить DNS с помощью этой программы (см. гифку выше): DnsJumper
  • 2) Возможно соединение блокирует антивирус или брандмаур. Добавьте лаунчер в список исключений либо попробуйте отключить антивирус и брандмауэр
  • 3) Плохое интернет соединение, проверьте свой интернет, попробуйте перезагрузить роутер, свой ПК
  • 4) Ваша страна блокирует соединение, попробуйте включить VPN (в интернете полно инструкций). Либо наоборот, если вы используете VPN, лаунчер может блокировать выбранную страну из соображений
    безопасности, в этом случае попробуйте отключить VPN или изменить страну в VPN. Если используете Hamachi или Radmin, попробуйте отключить или удалить их.
  • 5) Возможно лаунчер или веб-сайт просто перегружены или находятся в состоянии перезагрузки, попробуйте зайти через несколько секунд/минут
  • 6) Если указанные действия не помогли вам, то создайте тикет в канале «поддержка» нашего Дискорд сервера

Connect error: javax.net.ssl.SSLHandshakeException:…

Скрин ошибки

Решение:
Удалить старую версию Java и установить новую версию
( Windows 64bit ,
Windows 32bit )

Ошибка создания JVM

Ошибка JVM

Причина возникновения:
Такая ошибка возникает при установленный 32-битной Java, в которой можно выделить максимум 2 Гб оперативной памяти, а вы пытаетесь выделить больше.

Решение:

  • 1) Если у вас операционная система 32-битная, то рекомендуется выделить 1,5 Гб оперативной памяти в настройках лаунчера
  • 2) Если у вас операционная система 64-битная, вам надо удалить 32-битную java и установить 64-битную ( Windows 64bit ), тогда оперативную память можно выделять больше 1,5 Гб

Java HotSpot(TM) 64-Bit Server VM warning:

Using incremental CMS is deprecated and will likely be removed in a future release
Error occurred during initialization of VM
Could not reserve enough space for object heap
Process exit code 1

Или:

Could not reserve enough space for … KB object heap

VM warning

Причина возникновения:
У вас не хватает свободной оперативной памяти.
Решение:
Закрыть все лишние приложение (браузер, другие игры и т.п.). Если этого недостаточно, то попробуйте выделить в настройках лаунчера меньше оперативной памяти, например 1,5 Гб.

JVM Error: Отказано в доступе

JVM Error

Причина возникновения:
У лаунчера нет прав администратора.
Решение:
Запустить лаунчер от имени администратора (ПКМ по лаунчеру, «Запуск от имени администратора»). Либо войти в учетную запись администратора, если вы в гостевой учетной записи.

Ошибка разрядности Java

Ошибка разрядности Java

Причина возникновения:
Неверная разрядность Java.
Решение:
Удалить старую Java и установить новую под разрядность своей операционной системы ( Windows 64bit , Windows 32bit )

This application requires a Java Runtime Environment 1.8.0

This application

Причина возникновения:
Старая версия java
Решение:
Удалить старую версию Java и установить новую версию
( Windows 64bit ,
Windows 32bit )

Exception class pro.gravit.launcher.request.RequestException:
Access denied

Причина возникновения:
Антивирус блокирует лаунчер
Решение:
Отключить антивирус либо добавить лаунчер в список исключений. Желательно перекачать лаунчер.

when I try to start OWASP ZAP, after installing, the following messages appears: «This application requires a Java Runtime Environment 1.8.0». I have installed OpenJDK 11 properly, updated the environment variables rightly. Could you help me, please?

asked Jun 14, 2021 at 10:41

Julia Durán's user avatar

Инструкция DnsJumper

Причина возникновения:
Отсутствие нормального соединения лаунчера с нашим сервером

Возможные решения:

  • 1) Попробуйте изменить DNS с помощью этой программы (см. гифку выше): DnsJumper
  • 2) Возможно соединение блокирует антивирус или брандмаур. Добавьте лаунчер в список исключений либо попробуйте отключить антивирус и брандмауэр
  • 3) Плохое интернет соединение, проверьте свой интернет, попробуйте перезагрузить роутер, свой ПК
  • 4) Ваша страна блокирует соединение, попробуйте включить VPN (в интернете полно инструкций). Либо наоборот, если вы используете VPN, лаунчер может блокировать выбранную страну из соображений
    безопасности, в этом случае попробуйте отключить VPN или изменить страну в VPN. Если используете Hamachi или Radmin, попробуйте отключить или удалить их.
  • 5) Возможно лаунчер или веб-сайт просто перегружены или находятся в состоянии перезагрузки, попробуйте зайти через несколько секунд/минут
  • 6) Если указанные действия не помогли вам, то создайте тикет в канале «поддержка» нашего Дискорд сервера

Connect error: javax.net.ssl.SSLHandshakeException:…

Скрин ошибки

Решение:
Удалить старую версию Java и установить новую версию
( Windows 64bit ,
Windows 32bit )

Ошибка создания JVM

Ошибка JVM

Причина возникновения:
Такая ошибка возникает при установленный 32-битной Java, в которой можно выделить максимум 2 Гб оперативной памяти, а вы пытаетесь выделить больше.

Решение:

  • 1) Если у вас операционная система 32-битная, то рекомендуется выделить 1,5 Гб оперативной памяти в настройках лаунчера
  • 2) Если у вас операционная система 64-битная, вам надо удалить 32-битную java и установить 64-битную ( Windows 64bit ), тогда оперативную память можно выделять больше 1,5 Гб

Java HotSpot(TM) 64-Bit Server VM warning:

Using incremental CMS is deprecated and will likely be removed in a future release
Error occurred during initialization of VM
Could not reserve enough space for object heap
Process exit code 1

Или:

Could not reserve enough space for … KB object heap

VM warning

Причина возникновения:
У вас не хватает свободной оперативной памяти.
Решение:
Закрыть все лишние приложение (браузер, другие игры и т.п.). Если этого недостаточно, то попробуйте выделить в настройках лаунчера меньше оперативной памяти, например 1,5 Гб.

JVM Error: Отказано в доступе

JVM Error

Причина возникновения:
У лаунчера нет прав администратора.
Решение:
Запустить лаунчер от имени администратора (ПКМ по лаунчеру, «Запуск от имени администратора»). Либо войти в учетную запись администратора, если вы в гостевой учетной записи.

Ошибка разрядности Java

Ошибка разрядности Java

Причина возникновения:
Неверная разрядность Java.
Решение:
Удалить старую Java и установить новую под разрядность своей операционной системы ( Windows 64bit , Windows 32bit )

This application requires a Java Runtime Environment 1.8.0

This application

Причина возникновения:
Старая версия java
Решение:
Удалить старую версию Java и установить новую версию
( Windows 64bit ,
Windows 32bit )

Exception class pro.gravit.launcher.request.RequestException:
Access denied

Причина возникновения:
Антивирус блокирует лаунчер
Решение:
Отключить антивирус либо добавить лаунчер в список исключений. Желательно перекачать лаунчер.

when I try to start OWASP ZAP, after installing, the following messages appears: «This application requires a Java Runtime Environment 1.8.0». I have installed OpenJDK 11 properly, updated the environment variables rightly. Could you help me, please?

asked Jun 14, 2021 at 10:41

Julia Durán's user avatar

2

Try starting zap.bat file, that worked for me!

answered Oct 12, 2021 at 15:10

IDM's user avatar

IDMIDM

2713 silver badges3 bronze badges

2

Solution: Installing OpenJDK with the msi file. The installer has an option «JavaSoft (Oracle) registry keys». When this is activated, the 1.8.0 message disappears in my case. If it is not selected the error persists.

I encountered this error message recently on a Windows 10 machine when I wanted to run VOSViewer. I had installed Adopt OpenJDK by unzipping the files and updating the system variables (Path and JAVA_HOME). When checking java -version, it showed the correct one.

MSI Installer options

answered Jun 25, 2021 at 8:54

Gnülp's user avatar

GnülpGnülp

713 bronze badges

0

answered Oct 31, 2022 at 13:37

Chandrapal Singh's user avatar

3

In my case using ZAP 2.12.0, the only solution that worked was to edit the zap.bat file, I had to specify the full path to the Java executable, so the last line becomes:

C:jdk-17.0.5+8-jrebinjava.exe %jvmopts% -jar "C:Program FilesOWASPZed Attack Proxyzap-2.12.0.jar" %*

Adjust for your JDK/JRE install directory as appropriate

answered Dec 12, 2022 at 8:47

John M's user avatar

John MJohn M

2,4606 gold badges23 silver badges30 bronze badges

1

Install jdk from adoptium.net, it worked in my case.

answered Mar 12 at 8:56

Chi's user avatar

Возможно, вам также будет интересно:

  • Как исправить ошибку steamworksauthfail в амонг ас
  • Как исправить ошибку steamui dll
  • Как исправить ошибку steamstartup failed missing interface в портал
  • Как исправить ошибку steamclient64 dll
  • Как исправить ошибку steam2 dll

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии