Skip to content, Skip to search

Changes

Developing ImageJ in Eclipse

447 bytes added, 10:44, 2 December 2015
Hide platform-specific installation notes within expanding boxes
<div style{{Development | source}}This article explains how to install and configure Eclipse for use with [[ImageJ]] development. Directions correspond to Eclipse 4.4 Luna, and may need adjustment for other versions.__TOC__ == Install and configure Eclipse == === Install the Java Development Kit === * Download and install the Java Development Kit (JDK) from the [http://www.oracle.com/technetwork/java/javase/downloads/ Java web site]. === Install Eclipse ==* Download "Eclipse IDE for Java Developers"floatfrom the [http: right">//www.eclipse.org/downloads/ Eclipse web site].{{Development Warning | source It is '''important''' to choose "Eclipse IDE for Java Developers" because it contains Maven support built-in. Otherwise, you will have to [http://eclipse.org/m2e/ install the M2E plugin manually].}} * Unpack the archive to a location of your choice. == Configure Eclipse for your platform == <div table style="clearwidth: right99%"></divtr><td style="vertical-align: top; width: 33%">{{ExpandingBox| [[File:Win.png | x32px]] '''Windows '''| '''Avoid permissions issues.''' We recommend installing Eclipse ''outside'' of the <code>Program Files</code> directory. E.g.: '''<code>C:\Users\frood\Programs\eclipse</code>''', where '''<code>C:\Users\frood</code>''' is your user directory.
'''Configuring Eclipse.''' After installing Eclipse, you will need to configure it to know about your JDK.
* Check the box next to the JRE that appears and click OK
}}
<div /td><td style="clearvertical-align: top; width: right33%">{{ExpandingBox| [[File:Osx.png | x32px]] '''OS X'''| '''Understand Java 6 vs. Java 8.''' Eclipse should work on OS X with no further configuration. However, we recommend reading the [[FAQ#Mac_OS_X|OS X section of the FAQ]], as there are several Java-related issues on OS X.}}</divtd><td style="vertical-align: top; width: 33%">{{ExpandingBox| [[File:Tux.png | x32px]] '''Linux '''| '''Avoid permissions issues.''' We recommend installing to <code>$HOME/eclipse</code>.
'''Do not use a package manager.''' For several reasons, we do not recommend installing Eclipse from a package manager. You may not get a new enough version of Eclipse (we recommend 4.3+), you will not get the Java Developers version that includes the M2E plugins, and you will likely have trouble installing additional plugins due to the permissions issues with the system-wide installation.
}}
</divtd>This article explains how to install and configure Eclipse for use with [[ImageJ]] development. Directions correspond to Eclipse 4.4 Luna, and may need adjustment for other versions.__TOC__ == Install and configure Eclipse == === Install the Java Development Kit === * Download and install the Java Development Kit (JDK) from the [http:</tr></www.oracle.com/technetwork/java/javase/downloads/ Java web site]. === Install Eclipse === * Download "Eclipse IDE for Java Developers" from the [http://www.eclipse.org/downloads/ Eclipse web site].{{Warning | It is '''important''' to choose "Eclipse IDE for Java Developers" because it contains Maven support built-in. Otherwise, you will have to [http://eclipse.org/m2e/ install the M2E plugin manually].}} * Unpack the archive to a location of your choice. * See the right-hand sidebars for platform-specific notes.table>
== Clone the source code ==
Bureaucrat, emailconfirmed, incoming, administrator, uploaders
11,813
edits