I updated java and eclipse does not work

前端 未结 10 910
情书的邮戳
情书的邮戳 2021-01-03 21:20

I updated my JRE today 23.06.2012, and after that eclipse will no longer start. When I double click to start up eclipse the splash screen appears like a camera flash and th

10条回答
  •  北荒
    北荒 (楼主)
    2021-01-03 22:15

    This is what worked for me: Remove the lines:

    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    

    Add these two lines:

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

    Edit the path to match your installation. The ini file is generally present at $ECLIPSE_HOME/eclipse.ini Eclipse ini file

    Note: You'll need to change windows security settings to get access. I recommend you don't edit this type of file in notepad (use notepad++). Backup the file before you edit.

提交回复
热议问题