He worked in Composer (an Eclipse-based environment), the program itself completed its work and no longer starts, an error is displayed on the screen.
Tell me what could be.
-vm and the path to Java following it should be in different lines (should not be written in one line), for example, it should be like this:-vm
C: \ ProgramData \ Oracle \ Java \ javapath \ javaw.exe
Program Files . Most likely, you have installed some other program that registered its embedded version of Java in PATH. Need to fix it.Correct the PATH and generally remove the -vm option from the INI file, Java should automatically pick up the default system. If you don’t have one, install the JDK from the Oracle site.
java -version , you should see that the version of java that is installed and installed in your PATH is running. If this is not the case, then you have a problem with PATH - you need to fix it. After that, remove the -vm option from the INI file of your application and the path to Java, which is specified in this option. If all of the above is done correctly, your application should work. - Igor KudryashovComposer software is sensitive to the version of Java installed on your computer. Installing an older version helps fix this problem. It is desirable to disable Java updates in order to avoid a repeated incident. It should be noted that updates should be disabled for both versions (x32 and x64) if they are installed.
Source: https://ru.stackoverflow.com/questions/617381/
All Articles