All Downloads are FREE. Search and download functionalities are using the official Maven repository.

includes.prerequisites.adoc Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
///////////////////////////////////////////////////////////////////////////////

    Copyright (c) 2022, 2024 Oracle and/or its affiliates.

    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.

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

ifndef::rootdir[:rootdir: {docdir}/..]
ifndef::flavor-lc[:flavor-lc: se]
ifndef::flavor-uc[:flavor-lc: SE]
ifndef::se-flavor[:se-flavor: true]
ifndef::h1-prefix[:h1-prefix: SE]

=== Prerequisites

// tag::prerequisites[]

.Prerequisite product versions for Helidon {helidon-version}
[%autowidth]
|=======
// tag::prerequisites-table-rows[]
// tag::prerequisites-table-rows-core[]
|https://www.oracle.com/technetwork/java/javase/downloads[Java{nbsp}SE{nbsp}21] (http://jdk.java.net[Open{nbsp}JDK{nbsp}21]) |Helidon requires Java 21+.
|https://maven.apache.org/download.cgi[Maven 3.8+]|Helidon requires Maven 3.8+.
// end::prerequisites-table-rows-core[]
|https://docs.docker.com/install/[Docker 18.09+]|If you want to build and run Docker containers.
|https://kubernetes.io/docs/tasks/tools/install-kubectl/[Kubectl 1.16.5+]|If you want to deploy to Kubernetes, you need `kubectl` and a Kubernetes cluster (you can xref:{rootdir}/about/kubernetes.adoc[install one on your desktop].
// end::prerequisites-table-rows[]
|=======

// tag::prerequisites-setup[]
[source,bash]
.Verify Prerequisites
----
java -version
mvn --version
docker --version
kubectl version --short
----

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

# On Linux
# Use the appropriate path to your JDK
export JAVA_HOME=/usr/lib/jvm/jdk-21
----
// end::prerequisites-setup[]
// end::prerequisites[]

// tag::prerequisites-cli[]
[role="flex, sm7"]
|=======
include::prerequisites.adoc[tag=prerequisites-table-rows]
|xref:{rootdir}/about/cli.adoc[Helidon CLI]|If you want to use the Helidon CLI to create and build your application
|=======
include::prerequisites.adoc[tag=prerequisites-setup]
// end::prerequisites-cli[]

// tag::prerequisites-helm[]
[role="flex, sm7"]
|=======
include::prerequisites.adoc[tag=prerequisites-table-rows]
|https://github.com/helm/helm[Helm] | To manage Kubernetes applications.
|=======
include::prerequisites.adoc[tag=prerequisites-setup]
// end::prerequisites-helm[]

// tag::prerequisites-curl[]
[role="flex, sm7"]
|=======
include::prerequisites.adoc[tag=prerequisites-table-rows]
|https://curl.se/download.html[curl]
|(Optional) for testing
|=======
include::prerequisites.adoc[tag=prerequisites-setup]
// end::prerequisites-curl[]

// tag::prerequisites-graal[]
[role="flex, sm7"]
|=======
include::prerequisites.adoc[tag=prerequisites-table-rows]
| https://www.graalvm.org/release-notes/JDK_21/[GraalVM for JDK 21]| `native-image` support requires GraalVM for JDK 21. When running in the Graal JVM (not native-image) Helidon supports GraalVM for JDK 21 or newer.
|=======
include::prerequisites.adoc[tag=prerequisites-setup]
// end::prerequisites-graal[]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy