///////////////////////////////////////////////////////////////////////////////

    Copyright (c) 2018, 2019 Oracle and/or its affiliates. All rights reserved.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

///////////////////////////////////////////////////////////////////////////////

= Prerequisites
:description: Helidon pre-requisites
:keywords: helidon

Everything you need to use Helidon is listed here.

== Prerequisites

Helidon requires Java 8 or Java 11 and Maven. You need Docker if you
want to build and deploy Docker containers. If you want to
deploy to Kubernetes, you need `kubectl` and a Kubernetes cluster (you can
<<about/05_kubernetes.adoc,install one on your desktop>>).

[role="flex, sm7"]
|=======
|https://www.oracle.com/technetwork/java/javase/downloads[Java{nbsp}SE{nbsp}8] (http://jdk.java.net[Open{nbsp}JDK{nbsp}8])
 or https://www.oracle.com/technetwork/java/javase/downloads[Java{nbsp}SE{nbsp}11] (http://jdk.java.net[Open{nbsp}JDK{nbsp}11])
|https://maven.apache.org/download.cgi[Maven 3.5+]
|https://docs.docker.com/install/[Docker 18.06+]
|https://kubernetes.io/docs/tasks/tools/install-kubectl/[Kubectl 1.11.9+]
|=======


[source,bash]
.Verify Prerequisites
----
java -version
mvn --version
docker --version
kubectl version --short
----

== Setting JAVA_HOME

[source,bash]
.Setting JAVA_HOME
----
# On Mac
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

# On Linux
# Use the appropriate path to your JDK
export JAVA_HOME=/usr/lib/jvm/jdk-8
----

== Try the Quickstart Examples

Now you are ready to try the
 <<guides/01_overview.adoc#_getting_started,Quickstart Examples>>.
