Deprecated due to inclusion into main jabba repository (Jabba-Team/jabba#23). See https://github.com/Jabba-Team/jabba/blob/main/jabbaw.md
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.
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 :)
https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw
curl -sLO https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw && chmod +x jabbaw
curl -sLO https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw.ps1
echo "zulu@8" > .jabbarc
./jabbaw ./mvnw -v
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw.ps1 -OutFile ./jabbaw.ps1
Invoke-WebRequest -Uri https://raw.githubusercontent.com/nicerloop/jabba-wrapper/main/jabbaw -OutFile ./jabbaw
"zulu@8" | Out-File c:\debug.txt
./jabbaw ./mvnw -v