Setting the correct PATH for Eclipse

后端 未结 7 2273
我寻月下人不归
我寻月下人不归 2020-11-29 03:06

I recently changed my path so I could follow along in the Head First Java book and I had Eclipse before. Now when I try to get onto Eclipse again it won\'t open because it s

7条回答
  •  温柔的废话
    2020-11-29 03:55

    Eclipse folder has an initialization file which is used by eclipse on launch/Double click it is named as eclipse.ini. Add the following lines in eclipse.ini file. Where the vm defines the path of JVM with which we want eclipse to use.

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

    Make sure you have add the above lines separately and above the following line

    --launcher.appendVmargs
    -vmargs
    

提交回复
热议问题