Error occurred during initialization of VM (java/lang/NoClassDefFoundError: java/lang/Object)

后端 未结 11 1818
耶瑟儿~
耶瑟儿~ 2020-12-08 14:41

I\'m trying to install Java to use Eclipse (I followed all instructions to install Java and Eclipse) but my Eclipse is not starting due to some bad configuration I guess. I

11条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 15:20

    Go to Eclipse folder, locate eclipse.ini file, add following entry (before -vmargs if present):

    -vm
    C:\Program Files\Java\jdk1.7.0_10\bin\javaw.exe
    

    Save file and execute eclipse.exe.

提交回复
热议问题