Eclipse : Java Glossary

go to home page E words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
CurrCon neededThe CurrCon Java Applet displays prices on this web page converted with today’s exchange rates into your local international currency, e.g. Euros, US dollars, Canadian dollars, British Pounds, Indian Rupees… CurrCon requires Java 1.1 or later, preferably 1.6.0_11. If you can’t see the prices, or if you just want to learn more about CurrCon, click here for help.
eclipse Eclipse
A popular free IDE for writing Java. It does refactoring. It was originally developed by IBM. It is an enormous project encompassing more than just an IDE. Internally it uses SWT, IBM is a crack at tackling the same problem Swing does, but more streamlined. You have the option of using AWT, Swing or SWT in your own code. Eclipse is Jon Skeet’s favourite IDE. It is gradually becoming my main IDE too. It allows plug-ins for extra functionality. It uses its own compiler that lets it do incremental compiles and hot swapping of code during debugging.
Downsides Directory Structure
Eclipse Is A SCID Tips
Downloading Upgrading
Plug-Ins Links

Downsides

My main irritation with Eclipse is the time it takes to start up, 38 seconds on my machine. Granted the competition, IntelliJ is even worse at 87 seconds. However I am used to SlickEdit® that is ready to go in less than a second. I have to get used to the idea of leaving it runnig all the time, even when I have no immediate plans for it.

Eclipse Is A SCID

Eclipse is a almost a SCID.

You may have no interest in how Eclipse works under the hood, but you had better understand at least as much as I am about to explain. Eclipse has its own copy of the source files. It also compiles them on the fly, as you type. This is how it can navigate so quickly, do global renames, refactor, find references and declarations instantly, compile instantly and undo changes, plugins etc. It does not use Javac.exe at all (except in an ant build). It tokenises your source as you type, checks for errors and uses its own incremental/background compiler when you hit save.

Every time you click save at saves a conventional *.java copy of the class source on disk along with a corresponding compiled *.class file. However, if you modify one of those files, delete it, rename etc., sometimes nothing happens. It is as if Eclipse were oblivious to your changes. The true copy of your program is in RAM. Don’t touch Eclipse’s *.java files while Eclipse is running.

Instead of meddling with Eclipse’s *.java files, export, fix with your conventional tools and editors and the import the back again.

Import is the trickiest feature of Eclipse. Check after every import that your new source overrode the old and went into the correct place. You can drag and drop to the correct place if it missed. It is so easy to mess up and effectively lose all the work you did outside Eclipse. If you screw up, you can compare Eclipse files with your exported ones, correct your copy of the files with SlickEdit Diffzilla™, and reimport them. Again, there is no point in using Diffzilla to directly fix the Eclipse files. I suggest you experiment with a practice set of files till you are sure you get the hang of import, export and refresh. The full story is more complicated than I presented here. You can make changes to the source files if you know what you are doing.

Eclipse itself is written in Java, and you will notice a copy of javaw.exe running while it is. It is good example of just how polished a Java app can be. Show it to someone the next time they tell you there are no “real” apps in Java.

Downloading

Eclipse is a 103 MB download. You likely want the release candidate, not the latest build. Eclipse has no installer. You just unzip it to a directory of your choice then create a shortcut to eclipse.exe you can add to menus or the desktop. It uses IE to display its online help files. You might want to set up a bat file like this to launch exclipse.exe. Windows shortcuts are not bright enough to include command line parameters. You can tweak the parameters for maximal speed.

Plug-Ins

Much of the popularity comes from the way Eclipse is designed like a Lego set where can add or replace pieces of it. Some of the hundreds of plug-ins available are available from: Though Eclipse is free, the plug-ins are not necessarily free. For example BEA Workshop a plug-in to handle JSP, Struts, JSF and Hibernate is $900.00 USD .

Directory Structure

In eclipse terminology a project is a not a package, but a related group of packages.

If the project were called savetheworld, and my package were called com.mindprod.stopbush, then the *.java files it generates would live in E:\ecwork\savetheworld\com\mindprod\stopbush. They are thus fully accessible by ordinary text editors and other tools, but as I warned later, don’t modify them when Eclipse is running.

Tips

Upgrading to Eclipse 3.1.1 from 3.0.1

Click Help ⇒ Software Updates ⇒ Find and install ⇒ Search for new features

Then add a new remote site with label of Eclipse SDK 3.1.1 Updates and an address of http://update.eclipse.org/updates/3.1

Then tick the new site, and select finished button.


CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] The information on this page is for non-military use only.
You are visitor number 32,918. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/eclipse.html J:\mindprod\jgloss\eclipse.html