Reference V2-10 Reference | Download | 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 complex front end and back end solutions.

An an application server environment, Z2 integrates perfectly with Spring, Hibernate/JPA, Vaadin, and much more.

Z2 is used in several large software systems, hosting highly modularized code bases of 600000 lines of code and rising.

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

NOTE: This site may issue so-called session cookies. These are not used to track user data and will be removed at the end of your browsing session.

Current activities

Note: Version 2.10 is now available

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

Main development is towards v2.11 in master

Releases Overview

The latest released version is 2.10 (Javadoc, V2-10 Reference, Download)

Previous versions: 2.9.5, 2.9.1, 2.9, 2.8, 2.7, 2.6, 2.5, 2.4, 2.3.1, 2.2, 2.1


All distribution archives are available from the Download page.


Z2 has the following Java Version requirements

Z2 Version Min. Java version required Max Java version supported Max language level
2.1 - 2.3.1 Java 6 Java 7 Java 7
2.4 - 2.5 Java 8 Java 8 Java 8
2.6 Java 9 Java 11 Java 10
2.7 Java 9 Java 11 Java 11
2.8 Java 9 Java 13 Java 13
2.9b Java 8 Java 8 Java 8
2.9.1 Java 11 Java 16 Java 15
2.9.1b Java 8 Java 8 Java 8
2.10 Java 11 Java 18 Java 18
master Java 11 ? Java 18

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/ By this the Java compiler version detection does not fall back to a lower level.

The latest release is Version 2.10.

Looking for the repositories?

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.

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? Best start with Sample-hello-world.

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)


The z2-Environment by ZFabrik Software GmbH & Co. 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:

Other work contained or made available may be subject to other license restrictions. License information for the z2-base distribution (see z2-base) is available on the release version pages starting v2.6 and in the binary distribution of the z2 core that is contained in the z2-base distribution:

Version Licenses overview
v2.6 V26-Licenses
v2.7 V27-Licenses
v2.8 V28-Licenses


This site is hosted and maintained by ZFabrik Software GmbH & Co. KG.

Go here for Contact, Legal, Impressum

Contact us at contact (at)

Updated by Henning Blohm 6 months ago ยท 144 revisions