development environment setup basestep for jvm (Java Virtual Machine)
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
this project is 'only' install sdkman, install zulu fx java 17 and install gradle 8
- sdkman
- zulu fx java 17
- gradle 8
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
Target is: install sdkman
on a windows machine
assumend, you have installed
-
a IDE, for example IntelliJ IDEA
first we install sdkman
- git bash
this downloads a bash script from sdkman.io and execute it in a bash. This installs sdkman. Follow the instructions in the terminal.
curl -s "https://get.sdkman.io" | bash
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
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.
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
Now you are ready to setup a gradle project
for
a JVM Application
a JVM Library
- Feature 1
- Feature 2
- Feature 3
- Nested Feature
See the open issues for a full list of proposed features (and known issues).
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
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.
Your Name - @roberthalter - email@email_client.com
Project Link: https://github.com/roebi/01-05-dev-env-setup-basestep-for-jvm
- the base Structure of this README.md and BLANK_ROEBI_README.md and BLANK_README.md is based on the Best-README-Template from Github User othneildrew licensed by MIT
feel free to use a other README.md template in your project: