Project

General

Profile

Step 2 - Install and run in 5 minutes » History » Revision 47

Revision 46 (Henning Blohm, 25.09.2018 22:43) → Revision 47/48 (Henning Blohm, 23.04.2019 00:16)

h1. Install and run Z2 in 5 minutes 

 [[Step_1_-_What_is_z2|« Step 1 - What is z2]] 

 h2. Prerequisites 

 {{include(Java Version Requirements)}} 

 It is beneficial to use the Eclipse IDE (Ganymed, Helios, Indigo, Kepler work all fine). There's a small Eclipse plug-in called "Eclipsoid" which makes it easier to develop z2 applications within Eclipse (see [[Step 3 - First steps with Z2 on Git]] for more details). That plugin is also available for Intellij. However you can use any IDE (including vi and notepad) together with z2. 

 h2. Creating a _home_ for Z2 

 This is a best practice approach (and other approaches are possible). We recommend to keep the repositories and the IDE workspace close together. This way we don't need to adjust the path settings in the Z2 configuration files and they can remain relative paths. 

 Create a folder called z2-base inside your favorite/home/development/what-ever directory and enter it: 

 <pre><code class="bash"> 
 mkdir z2-base 
 cd z2-base 
 </code></pre> 

 h2. Installing the z2-base Distribution 

 The fastest way to start with z2 is by installing the z2-base distribution that contains the z2-core and complete copy of the z2-base.base component repository in one installable archive and requires no access to remote repositories (see also [[How_to_create_your_own_system]] for more details). 

 In order to install, "download":https://redmine.z2-environment.net/projects/z2-environment/files from the web site and unpackage.  

 {{include(Install z2-base-v27)}} z2-base-v26)}} 

 h2. Starting 

 Make sure to have a Java Development Kit (JDK) or a Java Runtime Environment of version 9 or later installed and executable. Test this by running 

 <pre><code class="bash"> 
 java -version 
 </code></pre> 

 {{include(Install_sample_postfix)}} 

 That's it. 

 h2. What's Next 

 This tutorial will continue by showing you how to develop with Z2. If you ask yourself how to add remote repositories, please check out    [[How_to_create_your_own_system]]. 


 * [[Step 3 - First steps with Z2 on Git|&raquo; Step 3 - First steps with Z2 on Git]]