Eclipse Mars is the simultaneous release of Eclipse 4.5 and a large collection of related Eclipse projects. Although it contains many updates unfortunately it is still not High DPI ready. You'll need to look at David Glevy's Eclipse Icon Enlarger - PhantomYdn's fork (which also like the main version includes my fixes) is ready to use. If you are going to resize the icons, make sure you finish installing everything you require first.
This post updates my previous quick configuration howtos covering previous releases by documenting the steps to get stock Eclipse up and running with essential Eclipse plugins. The recipe is for Windows - extrapolate as required. I no longer provide information for 32-bit Windows.
1. Download Eclipse IDE for Java EE (eclipse-jee-mars-R-win32-x86_64.zip). This can also be found via http://www.eclipse.org/downloads/
2. Make a folder for Eclipse somewhere called 'Eclipse', and unzip the Eclipse SDK zip file to the parent folder. I typically create c:\Java\Eclipse and unzip to c:\Java
3. Create a shortcut to Eclipse, for example:
4. Configure eclipse.ini, for example, as follows:
Modify the ‘vm’ argument so that it points to your appropriate Java runtime with Eclipse - this should be at least version 8.0. Best practice is to point to a JDK rather than a JRE location. Also, by using version 8.0 you no longer need to configure the PermGen space.
5. Next, search for new features using the Mars Updates (with only "Show the latest version", "Group Items by Category" and "Contact all update sites during install to find required software" selected). Pick the appropriate platform features - you can safely select everything. Pick the appropriate platform features - you can safely select everything.
Typical selection could be:
- Collaboration (Eclipse Git Team Provider - Gitflow support, Eclipse GitHub integration with task focused interface, Mylyn Builds Connector: Hudson/Jenkins, Mylyn Versions Connector: Git
Subversive SVN Integration for the Mylyn Project, Subversive SVN JDT Ignore Extensions, Subversive SVN Team Provider, Subversive SVN Team Provider Localization, Subversive SVN Team Provider Sources)
- Web XML Java EE and OSGi Development (Dali Java Persistence Tools - JPA Diagram Editor, OSGi Bundle Facet (Incubation), OSGi Framework Editor (Incubation), OSGi Framework Launchers (Incubation))
6. After restarting, the following update sites can be used to add essential plugins:
AJDT http://download.eclipse.org/tools/ajdt/45/dev/update/ Not AspectJ Development Tools Source or Equinox Weaving SDK)
AJDT AspectJ Configurer http://dist.springsource.org/release/AJDT/configurator/
Spring Tool Suite http://dist.springsource.com/release/TOOLS/update/e4.5/ (except JDT Core patch for Groovy-Eclipse plugin, Grails IDE, Groovy Compiler (all versions), Groovy-Eclipse Feature, and Groovy-Eclipse M2E integration)
Log4E http://log4e.jayefem.de/update (note that the free version cannot be installed using the update site)
Eclipse FullScreen http://scharf.gr/eclipse/fullscreen/update/ (Not Experimental)
ByteCode Outline http://andrei.gmxhome.de/eclipse/ (only ByteCode Outline)
Also, from the Mylyn for Eclipse Mars update site select Mylyn Docs EPUB, Mylyn HtmlText, and Mylyn Reviews.
7. After restarting again, install the following extensions from the Eclipse Marketplace: JavaCC Eclipse Plug-in, JBoss Tools (Mars), and Apt M2E Connector, If there are any conflicts at this stage, resolve them by keeping what you have already installed.
8. Go to "Window / Preferences / Maven / Discovery" and "Open Catalog". Select buildhelper, m2e connector for maven-dependency-plugin, m2e-checkstyle, m2e-findbugs, m2e-jdt-compiler, m2e-pmd, m2e-property-helper, plexus-annotations.
9. A couple of plugins are best installed by hand:
Download DBViewer from http://sourceforge.jp/projects/dbviewer/releases/ and copy the Jar to the Eclipse/dropins/plugins subdirectory
Download Tarlog Plugin 1.4.2 from http://code.google.com/p/tarlog-plugins/ (I used tarlog.eclipse.plugins_1.4.2.jar) and copy the Jar to the Eclipse/dropins/plugins subdirectory.
10. Some other Plugins from the Marketplace that you might want to install: QWickie, Apache Directory Studio, TestNG for Eclipse, Bndtools, Checkstyle, PMD, FindBugs Eclipse Plugin
11. I prefer the standard Java branding even when I have installed from the JavaEE IDE distribution. To get this packaging, I change -product in eclipse.ini to:
Then, from the standard distribution of Eclipse, I unzip the folder eclipse/plugins/org.eclipse.epp.package.java_22.214.171.12450621-1200 to the equivalent directory in my Eclipse installation. The next Eclipse restart will use the standard branding.