Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Created November 22, 2022 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/c488d592f968075346e8c52e6609dca3 to your computer and use it in GitHub Desktop.
Save sjwaight/c488d592f968075346e8c52e6609dca3 to your computer and use it in GitHub Desktop.
Short PowerShell Script that uses Chocolatey to install JDK 11 and Community Editon of IntelliJ IDEA
# Install Java 11 SDK using Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install openjdk --version 11.0.2.01 -y
choco install intellijidea-community -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment