This quickstart is aimed at those looking at doing plugin-development against the UDIG platform. Follow these instructions to quickly set up a development environment for working on your own plug-ins.
This content is available as a workbook for uDig 1.1 developers:
This document above is written for setting up on a windows machine; please see the notes below for Linux and OSX advice.
Resources
UDIG Software Developers Kit:
udig-1.1-Jul23,200810.47.54PM-sdk.zip
Eclipse:
Windows: eclipse-rcp-europa-winter-win32.zip
Linux: eclipse-rcp-europa-winter-linux-gtk.tar.gz
MacOSX: eclipse-rcp-europa-winter-macosx-carbon.tar.gz
Extras:
extras-3.3.2.zip
Java:
J2SE Runtime Environment 6.0 Update 6
Java Advanced Imaging 1.1.2_01 For JRE
JAI Image I/O Tools 1.0_01 for JRE
Linux
Please follow the same procedure; there is a "prepackaged" JRE available for you in our http://udig.refractions.net/downloads/jre/ folder.
Please don't do anything tricky like trying to "app get" a copy of Eclipse and Java; version numbers are important and we are setting up this environment very carefully.
If you would like to patch up your system Java you can do so by installing the versions of JAI and ImageIO mentioned above.
Mac OS-X
The Java included with your operating system is "good enough" for now - JAI is already installed on Tiger and Leopard. Some raster formats may not work out.
If you get a chance try the following:
- You can download an INTEL-ONLY Java 6 implementation with an acd here: http://developer.apple.com/java/download/
- If you would like to patch up your system Java you can do so by installing the versions of JAI and ImageIO mentioned above.
Common Problems
JVM Terminated with Exit Code=-1
If you have a really old machine with lots of versions of Java installed you may be in trouble! If you start eclipse and big dialog saying JVM Terminated with Exit Code=-1 then add the following to your command line options:
- -vm C:\java\eclipse\jre\bin\javaw.exe
This will force eclipse.exe to use the jre you downloaded.