Talk:Eclipse
From Gentoo Linux Wiki
[edit] When is 3.3 going to get added?
202.27.240.6 22:03, 27 June 2007 (UTC) when is 3.3 going to get added?
[edit] Please don't use ACCEPT_KEYWORDS
Please don't use the ACCEPT_KEYWORDS="˝x86". Those are just plain evil. Use the /etc/portage/package.keywords file instead
[edit] How do I obtain Eclipse 3.0?
How do I obtain Eclipse 3.0 through emerge ? i only get 2.1.... with eclipse-sdk ?
Insert "dev-util/eclipse-sdk ~x86" without the " in /etc/portage/package.keywords, don't forget the dev-util or it will not work
The best way to install an up-to-date CDT is to update your Eclipse using its built-in update functionality (Help->Software Updates).
[edit] Installed into /opt and not /usr/lib
2006-08-12: On my gentoo it is not /usr/lib/eclipse-extensions-3 but /opt/eclipse-extensions-3
[edit] Download own things through Eclipse??
2007-05-05: For Eclipse on Gentoo I think it would be better if each user is supposed to download his own things exclusively through the Eclipse framework. Create an ebuild that makes an install-helper that helps the user to get the framework installed in an area accessible by himself. Then from there on he is alone with his Ecllipse. This works exceptionally well on windows.
I'm going to assume you're talking about "eclipse extensions"? If so, granted probably best to have the user keep his own (more up-to-date) extensions as long as they're written within his home folder. However, I think this should be both a "system wide location" as well as "user location". System wide so users don't need to get the extension, and user location so a user can have the explicit option to get a more up-to-date extension rather then waiting an updated ebuild of the extension. (/me pokes pun at Portage ;-) --Roger 22:10, 24 June 2008 (UTC)
[edit] TIP: Increase MaxPermSize
2008-04-23: Very good practice on every system is to increase MaxPermSize to improve stability and avoid PermGenSpace faults. One should add
-vmargs
-Xms128m
-Xmx1024m
-XX:MaxPermSize=256m code>
Hint: look at MaxPermSize.
to local eclipse configuretion (eclipserc I guess). Very useful if you going to develop in PDT or Texclipse or Java.
[edit] This Eclipse Wiki Does Not Explain How to Install!
Would probably be best to add something such as the following:
# emerge eclipse-sdk
(Us Wiki users need some hand holding please. --Roger 21:44, 24 June 2008 (UTC))
[edit] Using Out-Dated Java?
Is it just me, or does Eclipse pull in a out-dated sun-jdk?
# emerge eclipse-sdk ... * The current generation-1 system-vm is using an out-of-date VM, * as in, it hasn't been updated for use with the new Java sytem. * Setting generation-1 system-vm to sun-jdk-1.4 Now using sun-jdk-1.4 for the generation-1 system JDK
After pulling in the out-dated sun-jdk, compiling eclipse-sdk depends fail due to system environment using the newer sun-jdk, for which, I would think most users would want to be executing the more up-to-date version.
This is the main reason I haven't bothered with Eclipse. Difficulty installing or failed compiling one of it's deps against a java-sdk.
Ugg... Eclipse 3.2.2 was released back in February according to a version bump request Bug #220417 and still no update as of this date on portage.
Wasn't Eclipse voted as the #1 IDE according to LinuxJournal.com 2008 issue? Must be seeing things as I still think VIM works a lot better ;-) --Roger 08:06, 25 June 2008 (UTC)
[edit] Old Eclipse version in portage
The currently newest version of eclipse in portage is almost 0.75 years old (Version 3.3.1.1). Why is there no ebuild for 3.3.2 or 3.4? --89.15.188.219 10:31, 19 July 2008 (UTC)
The latest eclipse is in the java overlay. emerge layman and then add the java overlay (layman -a java-overlay). --Ephemeral 11:08, 19 July 2008 (UTC)
I just added the java overlay and now get:
# emerge -pv dev-java/eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies - emerge: there are no ebuilds to satisfy ">=app-admin/eselect-ecj-0.3". (dependency required by "dev-java/eclipse-ecj-3.4-r2" [ebuild])
--Roger 09:34, 24 July 2008 (UTC)
