Skip to content

Setup system with Gradle & Java for compiling

Don Richards edited this page Sep 8, 2022 · 1 revision

This is not the only way to set up a system. This is just "a" way to do it on an Ubuntu machine. It's the simplest method I've found without needing to add anything extra like conflicting versions and path declarations in your user profile (~/.bashrc) needed to run properly. SDK seems to do a great job at making this work with no effort. It's like Mac's Package Manager brew 🍺

# Install SDK as a package manager
curl -s "https://get.sdkman.io" | bash

# Install Gradle
sdk install gradle 6.3

# Install java
sdk install java 18.0.2-oracle
Clone this wiki locally