Added by Jive, last edited by jgarnett on Sep 18, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

GeoTools is written exclusively in the Java Programming Language and is currently targeted at Java 1.5.

Links:

Approach

  • JDK 1.6 - while the build process will work; please set code generation to 1.5 levels and avoid the use of new Java 6 methods (as some platforms such as mac do not have a Java 6 yet)
  • JDK 1.5 - this is the current target

Geotools versions 2.4.x and below are targeted for Java 1.4.

We make use of Java 1.5 extended with JAI and ImageIO - for more information please see the next section on dependencies.

Current Language Policy

Our policy is waiting for the majority of our users before migrating to a new version of the Java language. In general we are held up by the slow migration of Java Enterprise Edition environments such as websphere.

IDE Settings

If you are developing on geotools 2.5.x or greater you must change your compile options to:

  • produce 5.0 compliant code

If you are developing on geotools 2.4.x or earlier you must change your compile options to:

  • produce 1.4 compliant code and;
  • to treat assert identifiers as Errors.

If you do not perform this change, the default Eclipse 3.0 and 3.1 M4 installs will trip up over the use of the assert keyword in the GeoTools codebase.

Eclipse users may obtain more information from the Geotools Eclipse Developers Guide.

Build / Tested / Supported

GeoTools 2.5.x:

JDK GeoTools 2.2 GeoTools 2.3 GeoTools 2.4 GeoTools 2.5 GeoTools 2.6
Java 6 Source Tested n/a n/a Tested Tested
Java 5 Source Tested n/a n/a Supported Supported
Java 1.4 2.2.3 Archive Acrhive Archive n/a n/a
  • GeoTools 2.5 and GeoTools 2.6 are tested on Java 6 but it is not an official target at this time
  • GeoTools 2.3 and GeoTools 2.4 run on Java 1.4 - you cannot compile the for Java 5 due to Java API changes
  • GeoTools 2.4 is the last release to work on Java 1.4
  • GeoTools 2.2 has been updated to Java 5 if you would like to check out the source code yourself