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.


error screenshot


Tell me what could be.

    2 answers 2

    1. You have an error in the INI file (eclipse.ini) or for your program it may be called differently, but it is necessarily located in the root directory of your program. Its contents can be seen on your screenshot. The option -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
    2. The very path to Java is doubtful, this one should be somewhere in 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.

    • Thanks for the answer. Sneaked into this folder 'C: \ ProgramData \ Oracle \ Java \ javapath \' there are 3 files with a resolution .exe which occupy 0 kb and refer to files that are in 'Program Files'. - Andrew Romanenko
    • When you try to open them, an error window appears with the message: "C: \ ProgramData \ Oracle \ Java \ javapath \ javaw.exe doesn’t help. Edit PATH did not help, apparently some other module goes to the old address C: \ ProgramData \ Oracle \ Java \ javapath \. Sit down what kind of file it is with the permission exe but which serves as a shortcut. You need to remove the error somehow. Thanks in advance - Andrew Romanenko
    • Install the JDK from the Oracle site, apparently you need a 32-bit version. In PATH, at the very beginning, add the path to the BIN folder of the installed JDK. Check - in the command line type 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 Kudryashov

    Composer 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.