Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Upgrading
Upgrading [message #768580] Tue, 20 December 2011 12:00 Go to next message
Eclipse UserFriend
I have some questions regarding the information on upgrading included in
the readme_eclipse.html file. I have Windows XP:


> 5. Upgrading Workspace from a Previous Release
> Users who don't use "-data"
....
> 1. Find the workspace directory used by your old version of Eclipse.
> Typically this is located inside the directory in which Eclipse was
> installed in a sub-directory called "workspace". If you are using a
> shortcut or script to launch Eclipse, then it will be under the
> current working directory of that shortcut or script in a
> sub-directory called "workspace". For Windows users, this is
> specified by the "Start in:" argument in your shortcut properties.

The above information does not apply here, I have specified as my
workspace directory the folder...\My Files\Java. So this is the
directory the above paragraph is talking about to and which I should
copy. Right?

> 2. Copy this workspace directory to a new, empty location outside of
> any Eclipse install directory.

Since it's not in the install directory I'll copy it to the desktop.

> 3. Install the new version of Eclipse in a new location, separate
> from any old version of Eclipse.

It seems a good idea to have an Eclipse directory in the Program Files
and inside it to have a directories with the version numbers. Once I am
sure I do not need the old version, I can delete it.

> 4. If you had installed additional features and plug-ins into your
old Eclipse, you should re-install them in the new Eclipse.

No additional features.

....
> Note: Copying your workspace is recommended because, after you've
> upgraded your workspace, you won't be able to use it again with an
> older version of Eclipse. If you ever want to go "back in time" to
> an earlier release, you will need that backup.

The directions are clear enough, but I just want to be sure I won't make
a mistake.

Thanks,

emf

--
It ain't THAT, babe! - A radical reinterpretation
https://files.nyu.edu/emf202/public/bd/itaintmebabe.html
Re: Upgrading [message #769443 is a reply to message #768580] Thu, 22 December 2011 03:30 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-12-20 07:00 Eustace wrote:
> I have some questions regarding the information on upgrading included in
> the readme_eclipse.html file. I have Windows XP:
>
>
> > 5. Upgrading Workspace from a Previous Release
> > Users who don't use "-data"
> ...
> > 1. Find the workspace directory used by your old version of Eclipse.
> > Typically this is located inside the directory in which Eclipse was
> > installed in a sub-directory called "workspace". If you are using a
> > shortcut or script to launch Eclipse, then it will be under the
> > current working directory of that shortcut or script in a
> > sub-directory called "workspace". For Windows users, this is
> > specified by the "Start in:" argument in your shortcut properties.
>
> The above information does not apply here, I have specified as my
> workspace directory the folder...\My Files\Java. So this is the
> directory the above paragraph is talking about to and which I should
> copy. Right?
>
> > 2. Copy this workspace directory to a new, empty location outside of
> > any Eclipse install directory.
>
> Since it's not in the install directory I'll copy it to the desktop.
>
> > 3. Install the new version of Eclipse in a new location, separate
> > from any old version of Eclipse.
>
> It seems a good idea to have an Eclipse directory in the Program Files
> and inside it to have a directories with the version numbers. Once I am
> sure I do not need the old version, I can delete it.
>
> > 4. If you had installed additional features and plug-ins into your
> old Eclipse, you should re-install them in the new Eclipse.
>
> No additional features.
>
> ...
> > Note: Copying your workspace is recommended because, after you've
> > upgraded your workspace, you won't be able to use it again with an
> > older version of Eclipse. If you ever want to go "back in time" to
> > an earlier release, you will need that backup.
>
> The directions are clear enough, but I just want to be sure I won't make
> a mistake.
>
> Thanks,
>
> emf

I understood getting no reply, as nothing to reply to, and as a go
ahead, so:

In the Program Files, in the folder eclipse I now have 2 subfolders, 3.2
and 3.6.

In My Files in the folder Java I now have 2 folders with identical
content, workspace and workspace 2, where I have copied all my eclipse
stuff.

I assigned workspace2 to eclipse 3.2, without problem.

When, however, I tried to run eclipse 3.6 with workspace, I got an alert
similar to:

Unable to read workbench state. Workbench UI layout will be reset.
org/eclipse/ltk/ui/refactoring/RefactoringWizardOK

Fist, where is this file?

Then, the programs were there but eclipse could not open them except in
the text editor. It seems that the java editor is missing. I checked
Window > Show View, but I do not see it there.

After I closed eclipse I found out that the folder workspace had
disappeared! I recreated one and tried again. Now the alert comes when I
try to open a program in the editor. There are some programs in the Run
dropdown list, and if I click on them they run OK. (The workspace folder
did not disappear again.) How can I open the Java Editor?

emf

--
Date Calculator with all-purpose JS code
https://files.nyu.edu/emf202/public/js/datecalc.html
Re: Upgrading [message #769452 is a reply to message #769443] Thu, 22 December 2011 04:07 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.12.21 20:30, Eustace wrote:
> On 2011-12-20 07:00 Eustace wrote:
>> [snip]
> I understood getting no reply, as nothing to reply to, and as a go
> ahead, so:
>
> In the Program Files, in the folder eclipse I now have 2 subfolders, 3.2
> and 3.6.
>
> In My Files in the folder Java I now have 2 folders with identical
> content, workspace and workspace 2, where I have copied all my eclipse
> stuff.
>
> I assigned workspace2 to eclipse 3.2, without problem.
>
> When, however, I tried to run eclipse 3.6 with workspace, I got an alert
> similar to:
>
> Unable to read workbench state. Workbench UI layout will be reset.
> org/eclipse/ltk/ui/refactoring/RefactoringWizardOK
>
> Fist, where is this file?
>
> Then, the programs were there but eclipse could not open them except in
> the text editor. It seems that the java editor is missing. I checked
> Window > Show View, but I do not see it there.
>
> After I closed eclipse I found out that the folder workspace had
> disappeared! I recreated one and tried again. Now the alert comes when I
> try to open a program in the editor. There are some programs in the Run
> dropdown list, and if I click on them they run OK. (The workspace folder
> did not disappear again.) How can I open the Java Editor?
>
> emf

I'm not certain what I have to say will be too useful, but I can always
hope.

I would never "install" Eclipse in Program Files on Windows. When you
move to Windows 7, this will cause you much grief. Just unzip it on a
path on C:\ that you own (on Windows XP, you own all the paths, but this
will not be the case on Windows 7 where you should consider using
C:\Users\emf), preferably near the root since lengthy subdirectory paths
increase the likelihood of failed unzipping.

One doesn't "assign" a workspace to Eclipse, one switches to a workspace
from Eclipse via File -> Switch Workspace.

The refactoring wizard is a class belonging to Eclipse whose methods
help refactor whatever Eclipse thinks needs refactoring--ostensibly a
transition between Eclipse 3.2 (ancient) and 3.6 (one version older than
current) in this case.

What programs? The center pane is the Editor view where Eclipse opens
the file you wish to edit with (usually) the most appropriate editor for
the file by type. For Java files alone this would be the Java editor.
The pane will be empty by default until you open a file.

It wouldn't be a program you open in an editor, but a source file, right?

I don't know about the disappearing workspace. The advice of saving a
copy of the workspace was good and I hope by following that you still
have a copy of your work. Perhaps a 3.2 workspace may not always
entirely survive the transition to 3.6?

For opening the Java editor, expand a project's files in the Project or
Package Explorer until you find a file ending in .java and double-click it.

You'll soon get the hang of this. Helios was the best Eclipse version
ever. I hope that Indigo (3.7) will turn out that way too, but I think
Helios rocks and I've used every Eclipse since Europa (3.3).
Re: Upgrading [message #769471 is a reply to message #769452] Thu, 22 December 2011 05:28 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-12-21 23:07 Russell Bateman wrote:
> On 2011.12.21 20:30, Eustace wrote:
>> On 2011-12-20 07:00 Eustace wrote:
>>> [snip]
>> I understood getting no reply, as nothing to reply to, and as a go
>> ahead, so:
>>
>> In the Program Files, in the folder eclipse I now have 2 subfolders, 3.2
>> and 3.6.
>>
>> In My Files in the folder Java I now have 2 folders with identical
>> content, workspace and workspace 2, where I have copied all my eclipse
>> stuff.
>>
>> I assigned workspace2 to eclipse 3.2, without problem.
>>
>> When, however, I tried to run eclipse 3.6 with workspace, I got an alert
>> similar to:
>>
>> Unable to read workbench state. Workbench UI layout will be reset.
>> org/eclipse/ltk/ui/refactoring/RefactoringWizardOK
>>
>> Fist, where is this file?
>>
>> Then, the programs were there but eclipse could not open them except in
>> the text editor. It seems that the java editor is missing. I checked
>> Window > Show View, but I do not see it there.
>>
>> After I closed eclipse I found out that the folder workspace had
>> disappeared! I recreated one and tried again. Now the alert comes when I
>> try to open a program in the editor. There are some programs in the Run
>> dropdown list, and if I click on them they run OK. (The workspace folder
>> did not disappear again.) How can I open the Java Editor?
>>
>> emf
>
> I'm not certain what I have to say will be too useful, but I can always
> hope.
>
> I would never "install" Eclipse in Program Files on Windows.

I meant I unzipped the file in a folder and moved it in the Program Files.

When you
> move to Windows 7, this will cause you much grief. Just unzip it on a
> path on C:\ that you own (on Windows XP, you own all the paths, but this
> will not be the case on Windows 7 where you should consider using
> C:\Users\emf), preferably near the root since lengthy subdirectory paths
> increase the likelihood of failed unzipping.

Hmm. Actually I also have a folder C:/My Stuff/My Program Files/ where I
have put some other programs that do not require what I would call
"regular installation". (The folder My Stuff contains the subfolder My
Files (that I mainly have to transfer about when moving to another
computer) as well as a Thunderbird and Firefox profile subfolders and a
few other folders.)

However, from what you are saying "My Program Files" is not an
appropriate place to put the eclipse either...

>
> One doesn't "assign" a workspace to Eclipse, one switches to a workspace
> from Eclipse via File -> Switch Workspace.

Of course that is what I meant.

> The refactoring wizard is a class belonging to Eclipse whose methods
> help refactor whatever Eclipse thinks needs refactoring--ostensibly a
> transition between Eclipse 3.2 (ancient) and 3.6 (one version older than
> current) in this case.

The peculiar thing is that in my Vista computer I had "installed"
Galileo in the Program Files and did not have any problems. I just tried
to do the same in my XP computer, and again the same thing with Helios
happened.

> What programs?

I meant the *.java files.

The center pane is the Editor view where Eclipse opens
> the file you wish to edit with (usually) the most appropriate editor for
> the file by type. For Java files alone this would be the Java editor.
> The pane will be empty by default until you open a file.

When I doubleclick in the Package Explorer to open a .java file, a tab
appears on top of the editor area as it should while the Java editor and
its contents do not appear, and the alert appears.

> It wouldn't be a program you open in an editor, but a source file, right?

Right.

> I don't know about the disappearing workspace. The advice of saving a
> copy of the workspace was good and I hope by following that you still
> have a copy of your work. Perhaps a 3.2 workspace may not always
> entirely survive the transition to 3.6?

Anyway, the workspace didn't disappear again after the first time.

> For opening the Java editor, expand a project's files in the Project or
> Package Explorer until you find a file ending in .java and double-click it.

I wrote about this above. Also, I tried to create a new java project,
package, and class; again the same thing. A tab with the name of the
class appeared on top without the editor underneath, and then the alert.

> You'll soon get the hang of this. Helios was the best Eclipse version
> ever. I hope that Indigo (3.7) will turn out that way too, but I think
> Helios rocks and I've used every Eclipse since Europa (3.3).

I *think* I remember faintly that when I first downloaded the eclipse 5
years ago I had read something about how to unzip it, but I am not sure.

emf

--
Date Calculator with all-purpose JS code
https://files.nyu.edu/emf202/public/js/datecalc.html
Re: Upgrading [message #769485 is a reply to message #769471] Thu, 22 December 2011 06:22 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-12-22 00:28 Eustace wrote:
> On 2011-12-21 23:07 Russell Bateman wrote:
>> On 2011.12.21 20:30, Eustace wrote:
>>> On 2011-12-20 07:00 Eustace wrote:
>>>> [snip]
>>> I understood getting no reply, as nothing to reply to, and as a go
>>> ahead, so:
>>>
>>> In the Program Files, in the folder eclipse I now have 2 subfolders, 3.2
>>> and 3.6.
>>>
>>> In My Files in the folder Java I now have 2 folders with identical
>>> content, workspace and workspace 2, where I have copied all my eclipse
>>> stuff.
>>>
>>> I assigned workspace2 to eclipse 3.2, without problem.
>>>
>>> When, however, I tried to run eclipse 3.6 with workspace, I got an alert
>>> similar to:
>>>
>>> Unable to read workbench state. Workbench UI layout will be reset.
>>> org/eclipse/ltk/ui/refactoring/RefactoringWizardOK
>>>
>>> Fist, where is this file?
>>>
>>> Then, the programs were there but eclipse could not open them except in
>>> the text editor. It seems that the java editor is missing. I checked
>>> Window > Show View, but I do not see it there.
>>>
>>> After I closed eclipse I found out that the folder workspace had
>>> disappeared! I recreated one and tried again. Now the alert comes when I
>>> try to open a program in the editor. There are some programs in the Run
>>> dropdown list, and if I click on them they run OK. (The workspace folder
>>> did not disappear again.) How can I open the Java Editor?
>>>
>>> emf
>>
>> I'm not certain what I have to say will be too useful, but I can always
>> hope.
>>
>> I would never "install" Eclipse in Program Files on Windows.
>
> I meant I unzipped the file in a folder and moved it in the Program Files.
>
> When you
>> move to Windows 7, this will cause you much grief. Just unzip it on a
>> path on C:\ that you own (on Windows XP, you own all the paths, but this
>> will not be the case on Windows 7 where you should consider using
>> C:\Users\emf), preferably near the root since lengthy subdirectory paths
>> increase the likelihood of failed unzipping.
>
> Hmm. Actually I also have a folder C:/My Stuff/My Program Files/ where I
> have put some other programs that do not require what I would call
> "regular installation". (The folder My Stuff contains the subfolder My
> Files (that I mainly have to transfer about when moving to another
> computer) as well as a Thunderbird and Firefox profile subfolders and a
> few other folders.)
>
> However, from what you are saying "My Program Files" is not an
> appropriate place to put the eclipse either...
>
>>
>> One doesn't "assign" a workspace to Eclipse, one switches to a workspace
>> from Eclipse via File -> Switch Workspace.
>
> Of course that is what I meant.
>
>> The refactoring wizard is a class belonging to Eclipse whose methods
>> help refactor whatever Eclipse thinks needs refactoring--ostensibly a
>> transition between Eclipse 3.2 (ancient) and 3.6 (one version older than
>> current) in this case.
>
> The peculiar thing is that in my Vista computer I had "installed"
> Galileo in the Program Files and did not have any problems. I just tried
> to do the same in my XP computer, and again the same thing with Helios
> happened.
>
>> What programs?
>
> I meant the *.java files.
>
> The center pane is the Editor view where Eclipse opens
>> the file you wish to edit with (usually) the most appropriate editor for
>> the file by type. For Java files alone this would be the Java editor.
>> The pane will be empty by default until you open a file.
>
> When I doubleclick in the Package Explorer to open a .java file, a tab
> appears on top of the editor area as it should while the Java editor and
> its contents do not appear, and the alert appears.
>
>> It wouldn't be a program you open in an editor, but a source file, right?
>
> Right.
>
>> I don't know about the disappearing workspace. The advice of saving a
>> copy of the workspace was good and I hope by following that you still
>> have a copy of your work. Perhaps a 3.2 workspace may not always
>> entirely survive the transition to 3.6?
>
> Anyway, the workspace didn't disappear again after the first time.
>
>> For opening the Java editor, expand a project's files in the Project or
>> Package Explorer until you find a file ending in .java and
>> double-click it.
>
> I wrote about this above. Also, I tried to create a new java project,
> package, and class; again the same thing. A tab with the name of the
> class appeared on top without the editor underneath, and then the alert.
>
>> You'll soon get the hang of this. Helios was the best Eclipse version
>> ever. I hope that Indigo (3.7) will turn out that way too, but I think
>> Helios rocks and I've used every Eclipse since Europa (3.3).
>
> I *think* I remember faintly that when I first downloaded the eclipse 5
> years ago I had read something about how to unzip it, but I am not sure.
>
> emf

One additional hint: I switched the workspace to an empty one, workspace3.

I created a new project, and package, and a class.

Same situation.

emf

--
Date Calculator with all-purpose JS code
https://files.nyu.edu/emf202/public/js/datecalc.html
Re: Upgrading [message #769508 is a reply to message #769485] Thu, 22 December 2011 07:55 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-12-22 01:22 Eustace wrote:
> On 2011-12-22 00:28 Eustace wrote:
>> On 2011-12-21 23:07 Russell Bateman wrote:
>>> On 2011.12.21 20:30, Eustace wrote:
>>>> On 2011-12-20 07:00 Eustace wrote:
>>>>> [snip]
>>>> I understood getting no reply, as nothing to reply to, and as a go
>>>> ahead, so:
>>>>
>>>> In the Program Files, in the folder eclipse I now have 2 subfolders,
>>>> 3.2
>>>> and 3.6.
>>>>
>>>> In My Files in the folder Java I now have 2 folders with identical
>>>> content, workspace and workspace 2, where I have copied all my eclipse
>>>> stuff.
>>>>
>>>> I assigned workspace2 to eclipse 3.2, without problem.
>>>>
>>>> When, however, I tried to run eclipse 3.6 with workspace, I got an
>>>> alert
>>>> similar to:
>>>>
>>>> Unable to read workbench state. Workbench UI layout will be reset.
>>>> org/eclipse/ltk/ui/refactoring/RefactoringWizardOK
>>>>
>>>> Fist, where is this file?
>>>>
>>>> Then, the programs were there but eclipse could not open them except in
>>>> the text editor. It seems that the java editor is missing. I checked
>>>> Window > Show View, but I do not see it there.
>>>>
>>>> After I closed eclipse I found out that the folder workspace had
>>>> disappeared! I recreated one and tried again. Now the alert comes
>>>> when I
>>>> try to open a program in the editor. There are some programs in the Run
>>>> dropdown list, and if I click on them they run OK. (The workspace
>>>> folder
>>>> did not disappear again.) How can I open the Java Editor?
>>>>
>>>> emf
>>>
>>> I'm not certain what I have to say will be too useful, but I can always
>>> hope.
>>>
>>> I would never "install" Eclipse in Program Files on Windows.
>>
>> I meant I unzipped the file in a folder and moved it in the Program
>> Files.
>>
>> When you
>>> move to Windows 7, this will cause you much grief. Just unzip it on a
>>> path on C:\ that you own (on Windows XP, you own all the paths, but this
>>> will not be the case on Windows 7 where you should consider using
>>> C:\Users\emf), preferably near the root since lengthy subdirectory paths
>>> increase the likelihood of failed unzipping.
>>
>> Hmm. Actually I also have a folder C:/My Stuff/My Program Files/ where I
>> have put some other programs that do not require what I would call
>> "regular installation". (The folder My Stuff contains the subfolder My
>> Files (that I mainly have to transfer about when moving to another
>> computer) as well as a Thunderbird and Firefox profile subfolders and a
>> few other folders.)
>>
>> However, from what you are saying "My Program Files" is not an
>> appropriate place to put the eclipse either...
>>
>>>
>>> One doesn't "assign" a workspace to Eclipse, one switches to a workspace
>>> from Eclipse via File -> Switch Workspace.
>>
>> Of course that is what I meant.
>>
>>> The refactoring wizard is a class belonging to Eclipse whose methods
>>> help refactor whatever Eclipse thinks needs refactoring--ostensibly a
>>> transition between Eclipse 3.2 (ancient) and 3.6 (one version older than
>>> current) in this case.
>>
>> The peculiar thing is that in my Vista computer I had "installed"
>> Galileo in the Program Files and did not have any problems. I just tried
>> to do the same in my XP computer, and again the same thing with Helios
>> happened.
>>
>>> What programs?
>>
>> I meant the *.java files.
>>
>> The center pane is the Editor view where Eclipse opens
>>> the file you wish to edit with (usually) the most appropriate editor for
>>> the file by type. For Java files alone this would be the Java editor.
>>> The pane will be empty by default until you open a file.
>>
>> When I doubleclick in the Package Explorer to open a .java file, a tab
>> appears on top of the editor area as it should while the Java editor and
>> its contents do not appear, and the alert appears.
>>
>>> It wouldn't be a program you open in an editor, but a source file,
>>> right?
>>
>> Right.
>>
>>> I don't know about the disappearing workspace. The advice of saving a
>>> copy of the workspace was good and I hope by following that you still
>>> have a copy of your work. Perhaps a 3.2 workspace may not always
>>> entirely survive the transition to 3.6?
>>
>> Anyway, the workspace didn't disappear again after the first time.
>>
>>> For opening the Java editor, expand a project's files in the Project or
>>> Package Explorer until you find a file ending in .java and
>>> double-click it.
>>
>> I wrote about this above. Also, I tried to create a new java project,
>> package, and class; again the same thing. A tab with the name of the
>> class appeared on top without the editor underneath, and then the alert.
>>
>>> You'll soon get the hang of this. Helios was the best Eclipse version
>>> ever. I hope that Indigo (3.7) will turn out that way too, but I think
>>> Helios rocks and I've used every Eclipse since Europa (3.3).
>>
>> I *think* I remember faintly that when I first downloaded the eclipse 5
>> years ago I had read something about how to unzip it, but I am not sure.
>>
>> emf
>
> One additional hint: I switched the workspace to an empty one, workspace3.
>
> I created a new project, and package, and a class.
>
> Same situation.
>
> emf

OK. I redownloaded the zipped file, opened it with 7-zip, installed it
to be on the save side directly in the C:\ directory, and it works OK.
I'll keep the 3.2 version and the second workspace for a couple of weeks
to make sure there are no problems. Thanks, emf

--
It ain't THAT, babe! - A radical reinterpretation
https://files.nyu.edu/emf202/public/bd/itaintmebabe.html
Re: Upgrading [message #769657 is a reply to message #769508] Thu, 22 December 2011 13:37 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.12.22 0:55, Eustace wrote:
> On 2011-12-22 01:22 Eustace wrote:
>> [snip]
>
> OK. I redownloaded the zipped file, opened it with 7-zip, installed it
> to be on the save side directly in the C:\ directory, and it works OK.
> I'll keep the 3.2 version and the second workspace for a couple of weeks
> to make sure there are no problems. Thanks, emf


Yes, 7-zip was going to be my next suggestion as soon as I could detect
that the installation itself was at fault. I haven't experienced nor
heard of Eclipse working "so well" after a bad installation due to unzip
failure.

I'm glad you're up and going!
Previous Topic:how to config resin in eclipse
Next Topic:Problem with Eclipse tomcat server context getting stripped
Goto Forum:
  


Current Time: Tue Apr 23 16:00:31 GMT 2024

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

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

Back to the top