无法在 Windows 7 上编辑 eclipse.ini 文件 [英] Unable to edit eclipse.ini file on Windows 7

查看:35
本文介绍了无法在 Windows 7 上编辑 eclipse.ini 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在以下位置安装了 eclipse Galileo - C:\Program Files (x86)在 IE 8 浏览器上执行 Selenium 测试时遇到一个奇怪的错误.一旦浏览器启动,我就会遇到错误 -

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....

之后我发现有一些人遇到了这个错误,并通过增加eclipse.ini文件中的jvm heap来摆脱它

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

我也尝试这样做.我可以编辑 eclipse.ini 文件,但是一旦我保存它就会遇到关于拒绝访问"的错误.我在 Windows 7 机器上拥有管理员权限

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

推荐答案

那是因为window7的安全问题:D

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"

它将以管理员权限打开记事本,现在使用文件->在记事本中打开导航到您的 eclipse .ini 文件进行更改并保存:)

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

这篇关于无法在 Windows 7 上编辑 eclipse.ini 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆