Eclipse - no Java (JRE) / (JDK) … no virtual machine

前端 未结 30 2286
青春惊慌失措
青春惊慌失措 2020-11-22 05:58

I am trying to get Eclipse v3.5 (Galileo) to re-run on my computer - I have run it before with no problems, but now I keep getting this error:

30条回答
  •  青春惊慌失措
    2020-11-22 06:22

    Don't worry i was also ruined by this error and fatal and when i got it i was so frustrate even i was giving to leave an android programming, but i got it, Simply first of all copy this code and paste in your system variable Under path ...

    C:\Program Files;C:\Winnt;C:\Winnt\System32;C:\Program Files\Java\jre6\bin\javaw.exe

    Now copy the "jre" folder from your path like i have have "jre" under this path

                C:\Program Files\Java
    

    and paste it in your eclipse folder means where your eclipse.exe file is placed. like i have my eclipse set up in this location

        F:\Softwares\LANGUAGES SOFTEARE\Android Setup\eclipse
    

    So inside the eclipse Folder paste the "jre" FOLDER . If you have "jre6" then rename it as "jre"....and run your eclipse you will got the solution...

       //<<<<<<<<<<<<<<----------------------------->>>>>>>>>>>>>>>>>>>                 
    

    OTHER SOLUTION: 2

    If the problem could't solve with the above steps, then follow these steps

    1. Copy the folder "jre" from your Java path like C:\Program Files\Java\jre6* etc, and paste it in your eclipse directory(Where is your eclipse available)
    2. Go to eclipse.ini file , open it up.
    3. Change the directory of your javaw.exe file like

    -vmF:\Softwares\LANGUAGES SOFTEARE\Android Setup\eclipse Indigo version 32 Bit\jre\bin/javaw.exe

    Now this time when you will start eclipse it will search for javaw.exe, so it will search the path in the eclipse.ini, as it is now in the same folder so, it will start the javaw.exe and it will start working.

    If You still have any query you can ask it again, just go on my profile and find out my email id. because i love stack overflow forum, and it made me a programmer.*

提交回复
热议问题