Skip to content

development environment setup basestep for jvm (Java Virtual Machine)

License

Notifications You must be signed in to change notification settings

roebi/01-05-dev-env-setup-basestep-for-jvm

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

01-05 development environment setup basestep for jvm (Java Virtual Machine)

development environment setup basestep for jvm (Java Virtual Machine)
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments
  9. Credit & Thanks
  10. README templates
  11. Markdown basic syntax

About The Project

this project is 'only' install sdkman, install zulu fx java 17 and install gradle 8

(back to top)

Built With

  • sdkman
  • zulu fx java 17
  • gradle 8

(back to top)

Getting Started

To setup a development environment (needed basestep) for

jvm (Java Virtual Machine) (Java, Scala, Kotlin, Groovy)

you have three choices

  • local
  • Podman Dockerfile (local ide and Podman Desktop, tools and libs in a Dockerfile)
  • Cloud (remote development, remote ide, i.E. GitPod)

We focus on local.

let start local development

Prerequisites

Target is: install sdkman

on a windows machine

assumend, you have installed

first we install sdkman

  • git bash
    curl -s "https://get.sdkman.io" | bash
    this downloads a bash script from sdkman.io and execute it in a bash. This installs sdkman. Follow the instructions in the terminal.

Installation

Target is: install zulu fx java 17 and gradle 8

  • optional - clone / fork / or use it as template - the repo if you need the README.md

    git clone https://github.com/roebi/01-05-dev-env-setup-basestep-for-jvm.git
  • Install the latest zulu java fx LTS version, current version 17

     // sdk list java // list all available java
     sdk install java 17.0.8.fx-zulu
  • Install the latest gradle non rc version, current version 8.2.1

     // sdk list gradle // list all available gradle
     sdk install gradle 8.2.1

    Remark

    In the first time you use the whole Gradle Installation. This is used for your first project. In this Project then Gradle install a smaller Gradle Wrapper. This Gradle Wrapper, started with gradlew is then used to run gradle tasks.

(back to top)

Usage

to setup Gradle Projects

you simply start with the Gradle init Task

setup a gradle project

gradle init

then Gradle comes up with some questions ...

here you see the first question:

Starting a Gradle Daemon, 1 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

Select type of project to generate:
  1: basic
  2: application
  3: library
  4: Gradle plugin
Enter selection (default: basic) [1..4]

cancel the task here, with Ctrl-C

(back to top)

target reached

Now you are ready to setup a gradle project

for

a JVM Application

a JVM Library

(back to top)

Roadmap

  • Feature 1
  • Feature 2
  • Feature 3
    • Nested Feature

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under The Unlicense. See LICENSE.txt for more information.

Do not forget do mention Best-README-Template from Github User othneildrew, if you reuse the REAMDME.md file from this Git Repo.

(back to top)

Contact

Your Name - @roberthalter - email@email_client.com

Project Link: https://github.com/roebi/01-05-dev-env-setup-basestep-for-jvm

(back to top)

Acknowledgments

(back to top)

Credit & Thanks

(back to top)

README templates

feel free to use a other README.md template in your project:

(back to top)

Markdown basic syntax

(back to top)

About

development environment setup basestep for jvm (Java Virtual Machine)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published