metasploitable3/scripts/installs/install_openjdk6.bat
ShahzebFarruk ca40b34a1d
Updated broken link and rename install_openjdk7.bat to install_openjdk6.bat
updated the broken link in the issue #595 as per recommendations by @jmartin-tech
2023-10-28 23:26:02 -04:00

3 lines
502 B
Batchfile

powershell -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/downloads/alexkasko/openjdk-unofficial-builds/openjdk-1.6.0-unofficial-b28-windows-amd64-installer.zip', 'C:\Windows\Temp\openjdk-1.6.0-unofficial-b28-windows-amd64-installer.zip')" <NUL
cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\openjdk-1.6.0-unofficial-b28-windows-amd64-installer.zip" -oC:\openjdk6"