20
0
0

Eclipse Juno

ChrisviaJadira
October 12, 2012

Eclipse Juno (now updated to SR1) is the simultaneous release of Eclipse 4.2 and a large collection of related Eclipse projects. With the release of SR1 some of the main performance issues of the original release have been resolved.

This post updates my previous quick configuration howtos covering Ganymede, Galileo, Helios and Indigo by documenting the steps to get stock Eclipse up and running with essential Eclipse plugins. The recipe is for Windows - extrapolate as required.

1. Download Eclipse IDE for Java Developers (eclipse-jee-juno-SR1-win32.zip for 32-bit Windows, eclipse-jee-juno-SR1-win32-x86_64.zip for 64-bit Windows). These can 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:



C:\Java\Eclipse\eclipse.exe

4. Configure eclipse.ini, for example, with the following:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
-clean
-vm
C:/Java/JSE6/jre/bin/server/jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Dhelp.lucene.tokenizer=standard
-server
-Dcom.sun.management.jmxremote
-Declipse.p2.unsignedPolicy=allow
-Xms768m
-Xmx768m
-XX:MaxPermSize=256M
-XX:+UseParallelOldGC
-XX:+DoEscapeAnalysis
-XX:+TieredCompilation
-XX:+OptimizeStringConcat
-XX:+UseCompressedStrings
-XX:+UseCompressedOops

(where the ‘vm’ argument points to your appropriate Java runtime with Eclipse - this should be at least version 6.0 and should be 32-bit or 64-bit as appropriate).



NB. Best practice is to point to a JDK rather than a JRE location.

5. Next, search for new features using the Juno Updates (with "Show the latest version" 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 Business Intelligence Reporting and Charting (except Eclipse BIRT Example and Eclipse BIRT Source Feature), Collaboration (except Subversive), General Purpose Tools (Local Terminal, Memory Analyzer, Memory Analyzer (Charts), RPM, Swing Designer, SWT Designer, and Window Builder packages), Modeling (UML2 Extender SDK), Programming Languages (JavaScript Development Tools), SOA Development, Testing, Web XML Java EE and OSGi Development (excluding PHP Development Tools (PDT) SDK Feature).

6. After restarting, the following update sites can be used to add AspectJ Developer Tools, SvnKit, QuantumDB, Log4E and some other valuable plugins:

AJDT http://download.eclipse.org/tools/ajdt/42/update (Not AspectJ Development Tools Source)

SvnKit http://eclipse.svnkit.com/1.7.x

SubClipse http://subclipse.tigris.org/update_1.8.x

QuantumDB http://quantum.sourceforge.net/update-site

Log4E http://log4e.jayefem.de/update (note that the free version cannot be installed using the update site)

ERMaster http://ermaster.sourceforge.net/update-site/

then restart

Also, from the Mylyn for Eclipse Juno update site select all updates except Mylyn Builds SDK, Mylyn Commons SDK, Mylyn Context SDK, Mylyn Docs SDK, Mylyn EPUB SDK, Mylyn Reviews SDK, Mylyn Tasks SDK, Mylyn Tasks Tests SDK, Mylyn Versions SDK and Mylyn WikiText SDK).

7. After restarting again, install the following extensions from the Eclipse Marketplace: Maven Integration for Eclipse, QWickie, Atlassian Connector for Eclipse, JavaCC Eclipse Plugin, Apache Directory Studio, TestNG for Eclipse, EGit, GitHub Mylyn Connector, Mylyn WikiText, Bndtools, Checkstyle, PMD, Vex)

8. Install Groovy Eclipse from http://dist.springsource.org/release/GRECLIPSE/e4.2/ and SpringSource Tool Suite for Eclipse Juno from http://dist.springsource.com/release/TOOLS/update/e4.2

9. Install JBoss Tools (Indigo) from http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ (except sources)

10. Go to "Window / Preferences / Maven / Discovery" and "Open Catalog". Select antlr, Axis Tools m2e, buildhelper, CheckStyle M2E, m2e-apt, m2e-jdt-compiler, PMD M2E, Tycho Configurator, m2e-egit, m2e-subclipse

11. Other interesting plugins you might want to consider could include:

LogWatcher http://graysky.sourceforge.net/

Color Editor http://www.gstaff.org/colorEditor/download.html

Scala IDE http://download.scala-ide.org/releases-29/stable/site (Not JDT Weaving for Scala or Scala IDE for Eclipse Source)

Android Development Tools https://dl-ssl.google.com/android/eclipse/

12. A couple of plugins are best installed by hand:

Download Jar Class Finder version 2.1.0 from http://www.alphaworks.ibm.com/tech/jarclassfinder/download 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.
https://dl-ssl.google.com/android/eclipse/
Discussion

-