Unable to edit eclipse.ini file on Windows 7

。_饼干妹妹 提交于 2020-01-14 07:34:43

问题


I have eclipse Galileo installed in following location - C:\Program Files (x86) I was getting a weird error while executing Selenium tests on IE 8 browser. As soon as browser is launched I encounter error -

RunTimeError -

C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javaw.exe

The application has requested run time to terminate it in unusual way....

Following this I found that a few encountered this error and got rid of it by increasing jvm heap in eclipse.ini file

And I tried doing same. I am able to edit eclipse.ini file but as soon as I save it encounter error about "Access Denied". I have admin rights on the Windows 7 machine


回答1:


That is because of window7 security issue :D

Go to search programe and files --Type notepad when it come right click on notepad and "run as administrator"

it will open notepad with administrator rights now use file->open in notepad navigate to your eclipse .ini file make changes and save it :)




回答2:


Quick and dirty fix: Copy the eclipse.ini file to a location where you don't need admin rights (i.e., desktop), edit it, then overwrite the old file with the updated one from your desktop.




回答3:


Or copy eclipse.ini to your favorite location. Create a new shortcut for eclipse. In target, add the following parameter

"C:\Program Files\Eclipse\eclipse.exe" eclipse --launcher.ini C:\favorite\eclipse.ini


来源:https://stackoverflow.com/questions/7231844/unable-to-edit-eclipse-ini-file-on-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!