eclipse error: unable to read workbench state, workbench UI layout will be reset

Hi
I have installed eclipse latest version, for the first time it has asked for workspace and after giving it opened nicely, when i opened it second time its giving me this error...ubale to read workbench state..........
im also having other ides installed such as Javabeginner and Netbeans, is this the problem or i need to do some setting, i have read eclipse documentation but not much abt the workbench is given.
if anybody knows how to fix this problem, please help.

thanks

i hav java sdk1.4.2
vihar123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimYatesCommented:
Have you copied something into your JAVA_HOME/lib/ext directory?

Like xerces?

This will override the xerces Eclipse wants...
0
TimYatesCommented:
And is another woderful reason not to use lib/ext

(pet rant, sorry) ;-)
0
vihar123Author Commented:
>>>And is another woderful reason not to use lib/ext
(pet rant, sorry) ;-)

i didnt get you

i have all these in my java---- C:\j2sdk1.4.2_03\jre\lib\ext

transx.zip
classes111.jar
classes111.zip
classes111_g.jar
classes111_g.zip
classes12.jar
classes12.zip
classes12_g.jar
classes12_g.zip
classes12dms.jar
classes12dms_g.jar
classgen.jar
connectjdbc.jar
dms2Server.jar
dnsns.jar
jce.jar
jdev-rt.zip
jsse.jar
ldapsec.jar
localedata.jar
nls_charset11.jar
nls_charset11.zip
nls_charset12.jar
nls_charset12.zip
ocrs12.jar
ocrs12.zip
ojdbc14.jar
ojdbc14_g.jar
oraclexsql.jar
plugin.jar
rt.jar
samples.jar
servlet.jar
soap.jar
sunjce_provider.jar
sunrsasign.jar
charsets.jar
xdb.jar
xmlcomp.jar
xmlcomp2.jar
xmlmesg.jar
xmlparserv2.jar
xschema.jar
xsqlserializers.jar
xsu111.jar
xsu111_816.jar
xsu111_817.jar
xsu12_816.jar
xsu12_817.jar
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

TimYatesCommented:
if you move all them out of lib/ext, does eclipse start up ok?

then you can try moving them back in one at a time...  I reckon one of them is conflicting with something in Eclipse...

Maybe some other expert will have a better idea though?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CeldricCommented:
>>Have you copied something into your JAVA_HOME/lib/ext directory?
>>Like xerces?
>>This will override the xerces Eclipse wants...
Whoa, didnt know that the libraries there override Eclipse's libraries
You never stop learning :D

Oh, vihar, do you remember what directory you set as Eclipses default workbench?
If so, post it plz.

Also, look for: recentWorkspaces.xml
and post its contents
Its usually in: C:\eclipse\configuration\org.eclipse.ui.ide
where c:\eclipse is where you decompressed eclipse
0
TimYatesCommented:
> Whoa, didnt know that the libraries there override Eclipse's libraries

It depends what order you have for the classpath...

Whichever jar is first in the classpath is the one that is used for that classname...

Which is great, unless lib/ext has one version of some code in it, and the application uses another, and the application jar is further down the classpath...

You tend not to get "ClassNotFound" exceptions, as the class is there...it's just what the class is doing is unexpected, so things like NullPointerExceptions, etc suddenly appear...

As I think I made clear, I'm not 100% sure this is the cause of the problem here, but it is a real reason to be wary of lib/ext...
0
expertmbCommented:
no problem if you have other ides. when you close the workbench its state is saved automatically.
0
vihar123Author Commented:
ya thanks its working, i moved all to the lib folder and also included them in eclipse....

thanks for all contributions
0
TimYatesCommented:
watch out that some of your projects which you used to work on may have relied on those jar files being in lib/ext...

So I'd keep them safe for when you find a project that doesn't run :-(

Good luck with it!!

Tim
0
vihar123Author Commented:
ya i have tested they are working fine
0
vihar123Author Commented:
i have also saved them :-))))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.