2022-10-17 13:39:34 -04:00
|
|
|
install gradle:
|
|
|
|
https://linuxhint.com/installing_gradle_ubuntu/
|
|
|
|
|
|
|
|
wget -c https://services.gradle.org/distributions/gradle-7.5.1-bin.zip -P /tmp
|
|
|
|
sudo unzip -d /opt/gradle /tmp/gradle-7.5.1-bin.zip
|
|
|
|
|
|
|
|
create sample application with gradle:
|
|
|
|
https://docs.gradle.org/current/samples/sample_building_java_applications.html
|
|
|
|
|
2022-10-19 09:46:41 -04:00
|
|
|
install jdk18 if not in apt
|
|
|
|
https://askubuntu.com/questions/1421306/how-to-install-openjdk-18
|
|
|
|
* wget the tar
|
|
|
|
* unpack to /opt
|
|
|
|
* set the bin folder in the JAVA_HOME ev
|
2024-12-05 09:46:07 -05:00
|
|
|
|
|
|
|
## 2024-12-05
|
|
|
|
|
|
|
|
install java and gradle with sdkman.
|
|
|
|
install sdkman:
|
|
|
|
```bash
|
|
|
|
curl -s "https://get.sdkman.io" | bash
|
|
|
|
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
then install java:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sdk install java
|
|
|
|
```
|
|
|
|
|
|
|
|
then install gradle:
|
|
|
|
```bash
|
|
|
|
sdk install java
|
|
|
|
```
|