How do you edit the eclipse.ini file? [message #874395] |
Sun, 20 May 2012 15:31  |
Eclipse User |
|
|
|
W7 64bit.
When I right-click and select Edit on eclipse.ini, it opens Notepad and it's all one long line with no breaks. That already seems bad since there is no space between options and arguments. Anyway, I'm trying to set the -vm option so I broke the text so that it looks like what you see in the Wiki for eclipse.ini and added (as 2 separate lines)
-vm
C:\Program Files (x86)\Java\jre6\bin\javaw.exe
Saved it and invoked eclipse.exe, but continue to get this message:
A Java Runtime Environment or Java Development Kit must be available ...
No Java virtual machine was found after searching the following locations:
C:\eclipse\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH
|
|
|
|
|
|
|
Re: How do you edit the eclipse.ini file? [message #875376 is a reply to message #875345] |
Tue, 22 May 2012 12:15   |
Eclipse User |
|
|
|
On 5/22/2012 9:00 AM, Larry Towers wrote:
> It may have ASCII text, but it does not read properly. In Notepad, there
> is no visible spacing or newline-ing as shown in the eclipse Wiki page.
> Therefore, it isn't clear how one edits it to add an option, in my case
> the -vm option.
Well, then toss Notepad for a proper ASCII text editor. I would suggest
Notepad++ if you're not a vi initiate.
I'm not sure what you mean by saying there's no visible spacing or
newline information on the wiki page. Nevertheless, to add the -vm
option, place it alone on a line. On the next line, give the full path
to the JRE in your JDK as shown in http://wiki.eclipse.org/Eclipse.ini.
|
|
|
|
|
Re: How do you edit the eclipse.ini file? [message #875543 is a reply to message #875541] |
Tue, 22 May 2012 19:49   |
Eclipse User |
|
|
|
Russel (above): I didn't write it clearly. I meant to say that the eclipse.ini file that's part of the release package, when I open it, all I see is one line, UNLIKE that presentation on the Wiki. In any event, I saved a copy of the original, inserted newlines where appropriate, and then added the -vm option at the end. As clarified, that's not the place to put it since it follows a -vmargs line and the parsing isn't as it should be.
In any event, I want to thank you for stopping by an examining my problem. If it wasn't for the forum, I'd be totally stuck.
[Updated on: Tue, 22 May 2012 19:51] by Moderator
|
|
|
Re: How do you edit the eclipse.ini file? [message #876389 is a reply to message #875543] |
Thu, 24 May 2012 09:53  |
Eclipse User |
|
|
|
On 5/22/2012 5:49 PM, Larry Towers wrote:
> Russel (above): I didn't write it clearly. I meant to say that the
> eclipse.ini file that's part of the release package, when I open it, all
> I see is one line, UNLIKE that presentation on the Wiki. In any event, I
> saved a copy of the original, inserted newlines where appropriate, and
> then added the -vm option at the end. As clarified, that's not the place
> to put it since it follows a -vmargs line and the parsing isn't as it
> should be.
Glad you're up and running, Larry. Best of luck to you.
|
|
|
Powered by
FUDForum. Page generated in 0.09968 seconds