Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Eclipse-on-Lion upgrade experience
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eclipse-on-Lion upgrade experience



On upgrading to lion, I did hit a snag trying to compile my java project in Eclipse.  My JRE link has a red x next to it.  YIKES.  I see that classes.jar, ui.jar, and so on, are located in System/Library/Java/..., which seems to be a good link.  But there is one bad boy, "Java/JavaRuntimeSupport.jar", which is in "/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources".  This folder actually exists on the lion installation, but it does not contain a folder or link called "Java".

My guess is that at some point I must have fiddled with my JRE Library preference and now my link is stale.  I fixed this problem like so:

1) Create a new workspace, and a fresh java project.  Under Java/installed JREs preference, observe the location "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home", which is good.  Now go back to your workspace, delete the old JRE preference, and add this one.

All better.  What a releif !!!

Frank Rimlinger _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.