Subprojects: z2-addons | z2-base | z2-samples | z2-core | org.z2env

The z2-Environment is an open source infrastructure to develop, configure, and run modular, standards-based Java applications without build infrastructure nor deployment procedures and so reduces development operations costs significantly.

During development and maintenance you do not need to have a local build environment installed that complements your source code.

The z2-Environment rebuilds Java sources as required and selectively from your development workspace leading to fast development roundtrips and consistent deployments, and ultimately to minimized integration pains.

The Z2 component model makes developing modular Java solutions easy, comprehensible, and manageable.

Z2 shines when used to develop, run, and maintain non-trivial solutions and in particular in conjunction with Hadoop and HBase.

An an application server environment, Z2 integrates perfectly with Spring, Hibernate/JPA, Vaadin, and much more. Please check out the how-Tos below.

This Wiki contains answers to all kinds of practical questions on using Z2.

Current activities

Note: Version 2.4 is now available!

The master branch is now v2.4 plus changes. Note the JDK pre-requisites below.

Version 3 is currently sampled in org.z2env - and considered experimental. Main development is towards 2.5 in trunk.

Looking for the repositories?

  • Go to the sub-project's repositories for the most frequently updated Git repositories: z2_core, z2_base, z2_samples, z2_addons
  • Go to the main project's for the not-so-frequently updated Subversion mirror here. Please also note the SVN related getting-started notes and how-tos.

Note: The information provided in this Wiki is to the best of our knowledge and we cannot provide any warranty on accuracy or applicability to your specific use cases.


Z2 has the following Java Version requirements

Z2 Version Min. Java version required Max Java version supported
2.1 - 2.3.1 Java 6 Java 7
2.4 - master Java 8 Java 8

Note: Most samples suggest to use the master branch. You may choose another version branch (please check the respective repository).
Make sure you have a corresponding Java Development Kit (JDK) or Java Runtime Environment (JRE) installed. If in doubt, go to Download Java SE.

Note: Running v2.1-v2.3.1 on Java 8 is supported by specifying


(or 6, if that is your desired compilation language level) in <home>/run/bin/runtime.properties. By this the Java compiler version detection does not fall back to a lower level.

The latest release is Version 2.4.1.

Previous releases.

Previous versions:

Getting started

If you want to get a real quick understanding of what Z2 is and how to give it a try start here:

If that is all too tedious for you - how about firing up some sample?

Also check out these:

And don't miss these:


This site is split into sub projects:

  • z2-base: The base components of z2.
  • z2-core: The z2 kernel included with z2 base with sources
  • z2-addons: Add-ons that complement z2-base with additional features
  • z2-samples: Home of the samples listed below.

And then there is...


There are various samples available that highlight specific use-cases and may serve as a solution template, when you just cannot get it to work or do not know where to start.


Howtos provide practical information on various aspects that you may run into when looking deeper.


The z2 base distribution is really just the most basic but still practically useful set of z2 modules. Addon repositories provide additional modules that add complete feature sets. Addons are versioned along with z2 base and may be included by simply adding component repositories.

When productising your solution, you will want to isolate yourself from intermediate changes outside of your control. See also How to create your own system for more information how Z2 accomplishes that with pure version control tool use.

Various notes on single concepts

Drafts and discussions on current work items.

Blogs on Z2

Some selected blog entries from z the world :

And finally:

Support & Getting help

For getting help please refer to the FAQ. Discussions about z2-environment can be found in the z2-environment forums.

Before submitting a bug report, a patch or a feature request here, please read the Submission guidelines.

Need support? Having problems with this site? Contact us at contact (at) zfabrik.de



The z2-Environment by ZFabrik Software KG is available as open source software under the terms of the

Apache License, Version 2.0.

See here for more information on what that implies: http://www.apache.org/licenses/LICENSE-2.0.html

Other work contained or made available may be subject to other license restrictions.


This site is hosted and maintained by ZFabrik Software KG.

Go here for Contact, Legal, Impressum

Contact us at contact (at) zfabrik.de

develop.png (68.8 KB) Henning Blohm, 23.03.2014 17:23

wiki.svg (133 KB) Henning Blohm, 23.03.2014 17:31

dev_and_scale.png (114 KB) Henning Blohm, 23.03.2014 17:32