There are two ways to consume or contribute to this project. Since this is a simple java application, you can install jdk 21 and make changes and compile.
- Install intellij idea community edition
- Open the build.gradle file as a project
- Then to compile just run
./gradlew clean build
java -jar build/libs/k3s-simplified-<version>-all.jar create --config ~/Projects/easystartup-account/private/java-simplified-k3s-test/cluster_config.yaml
- I did explore using a GraalVM native image
- But it lead to too many issues with reflection and deserialization and I have to ensure that while running the GraalVM agent for every change that I explore all the application pathways for the agent to compute the pathways and allow reflections
- I do not feel it is worth the effort in doing it, mainly because of additional bugs that can come up during runtime
- Instead people can download a slightly larger package bundled with JRE itself which can avoid all these problems.