Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with 3.5 rewriting eclipse.ini
Problem with 3.5 rewriting eclipse.ini [message #335166] Tue, 24 March 2009 16:19 Go to next message
Eclipse UserFriend
Originally posted by: no.ddress.here

Eclipse 3.5M6 on WinXP

Whenever I use Help->Check for Updates or Help->Install New Software
(and actually update/install something), Eclipse appears to rewrite the
eclipse.ini VM line incorrectly, at least for Windows.

Before running Update/Install, my eclipse.ini contains the line:

-vm
C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe

After update/install and closing Eclipse, the line has been changed to:

-vm
file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe

And, on the next cold start of Eclipse, Eclipse complains that it cannot
find a JRE in "file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe"

Bug?
Re: Problem with 3.5 rewriting eclipse.ini [message #335237 is a reply to message #335166] Thu, 26 March 2009 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 3/24/2009 12:19 PM, Gerald Rosenberg wrote:
> Eclipse 3.5M6 on WinXP
>
> Whenever I use Help->Check for Updates or Help->Install New Software
> (and actually update/install something), Eclipse appears to rewrite the
> eclipse.ini VM line incorrectly, at least for Windows.
>
> Before running Update/Install, my eclipse.ini contains the line:
>
> -vm
> C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe
>
> After update/install and closing Eclipse, the line has been changed to:
>
> -vm
> file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe
>
> And, on the next cold start of Eclipse, Eclipse complains that it cannot
> find a JRE in "file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe"
>
> Bug?

Could be, but for me it uses a relative path. My eclipse.ini ends up
looking like this:
-vm
.../../../../java/JDK/1.6.0/bin/javaw.exe

I'm not sure what is the purpose of the re-writing in the first place;
it certainly seems like a bug to do it at all. Makes it a pain to move
around either Eclipse installations or JVM installations (both of which
I've done without worry in the past).

If you find or enter a bug report, please post the link here.

Eric
Re: Problem with 3.5 rewriting eclipse.ini [message #335262 is a reply to message #335237] Sat, 28 March 2009 15:34 Go to previous message
Eclipse UserFriend
Originally posted by: no.ddress.here

In article <gqgh5e$ss7$1@build.eclipse.org>, eclipse-news@rizzoweb.com
says...>
> On 3/24/2009 12:19 PM, Gerald Rosenberg wrote:
> > Eclipse 3.5M6 on WinXP
> >
> > Whenever I use Help->Check for Updates or Help->Install New Software
> > (and actually update/install something), Eclipse appears to rewrite the
> > eclipse.ini VM line incorrectly, at least for Windows.
> >
> > Before running Update/Install, my eclipse.ini contains the line:
> >
> > -vm
> > C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe
> >
> > After update/install and closing Eclipse, the line has been changed to:
> >
> > -vm
> > file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe
> >
> > And, on the next cold start of Eclipse, Eclipse complains that it cannot
> > find a JRE in "file:/C:/Program Files/Java/jdk1.6.0_11/bin/javaw.exe"
> >
> > Bug?
>
> Could be, but for me it uses a relative path. My eclipse.ini ends up
> looking like this:
> -vm
> ../../../../java/JDK/1.6.0/bin/javaw.exe
>
> I'm not sure what is the purpose of the re-writing in the first place;
> it certainly seems like a bug to do it at all. Makes it a pain to move
> around either Eclipse installations or JVM installations (both of which
> I've done without worry in the past).
>
> If you find or enter a bug report, please post the link here.
>
> Eric

https://bugs.eclipse.org/bugs/show_bug.cgi?id=270353

Thanks,
Gerald
Previous Topic:refresh not working properly
Next Topic:gettting the name of the selected object in the Objectactiondelegate class
Goto Forum:
  


Current Time: Fri Apr 26 12:28:28 GMT 2024

Powered by FUDForum. Page generated in 0.02338 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top