# jabba-wrapper Simple scripts to use jabba (https://github.com/Jabba-Team/jabba) without installation. Inspired by and tested with maven-wrapper (https://maven.apache.org/wrapper/). Assembled from jabba install scripts. ## Installation Simply copy the scripts in the root project folder, keeping the unix shell version executable. Setup .jabbarc file with the desired JDK version (https://github.com/Jabba-Team/jabba#usage) Enjoy the wrapper :) #### macOS / Linux https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw ```sh curl -sLO https://raw.githubusercontent.com/Jabba-Team/jabba/main/jabbaw chmod +x jabbaw curl -sLO https://raw.githubusercontent.com/Jabba-Team/jabba/main/jabbaw.ps1 echo "zulu@8" > .jabbarc ./jabbaw ./mvnw -v ``` #### Windows 10 ```powershell [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest -Uri https://raw.githubusercontent.com/Jabba-Team/jabba/main/jabbaw.ps1 -OutFile ./jabbaw.ps1 Invoke-WebRequest -Uri https://raw.githubusercontent.com/Jabba-Team/jabba/main/jabbaw -OutFile ./jabbaw # don't forget to set executable bit for shell script in git # git update-index --chmod=+x jabbaw "zulu@8" | Out-File .jabbarc ./jabbaw ./mvnw -v ```