eclipse won't start - no java virtual machine was found

前端 未结 22 1209
感情败类
感情败类 2020-12-12 16:58

Eclipse was running fine yesterday (and has been since I installed it about a year ago). Now all the sudden I\'m getting the following error on startup:

\"A          


        
22条回答
  •  失恋的感觉
    2020-12-12 17:39

    First

    check if you have both java 32 and 64 bit install then

    Setting Path on Windows

    Windows 8

    Drag the Mouse pointer to the Right bottom corner of the screen

    Click on the Search icon and type: Control Panel

    Click on -> Control Panel -> System -> Advanced

    Click on Environment Variables, under System Variables, find PATH, and click on it.

    In the Edit windows, modify PATH by adding the location of the class to the value for PATH, Or simply make sure that the variable name is in ALL CAPS

    If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

    Close the window.

    Reopen Command prompt window, and run your java code.

提交回复
热议问题