• Latest Code...

    Eclipse - Failed to create the java virtual machine

    Mostly eclipse user developer stick this error sometimes or many times during on his developing careers. So lets find out some solution, how to fix "failed to create the java virtual machine".

    I have found some fine solution in stackoverflow and borrowing some answers here.

    Solutions 1
    1. Open the eclipse.ini file from your eclipse folder,see the picture below.
    2. Open eclipse.ini in Notepad or any other text-editor application, Find the line -Xmx256m (or -Xmx1024m). Now change the default value 256m (or 1024m) to 512m. You also need to give the exact java installed version (1.6 or 1.7 or other).
    max size
    Like This:
    Then it works .

    Solutions 2.

    if solutions 1 is not working then try this:
    Try removing the -vm P:\Programs\jdk1.6\bin lines.

    Also, a general recommendation: set -Dosgi.requiredJavaVersion=1.6, not 1.5.

    Solution 3
    There are two place in eclipse.ini that includes
    make it

    Solution 4.
    if all the above solutions is not working then, try this:

    Try to add

    -vm D:\Java\jdk1.6.0_29\bin\javaw.exe
    FYI: Refer sunblog
    HappY CodinG

    No comments:

    Post a Comment


    Most recent Elastic Search tutorials for beginner, intermediate and advance level developer, Yubraj Pokharel, in CodingWorkspace