Skip to content

Instantly share code, notes, and snippets.

@ny83427
Last active January 11, 2019 10:15
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 ny83427/4ca8801fb340bb0555e63155a7050ee9 to your computer and use it in GitHub Desktop.
Save ny83427/4ca8801fb340bb0555e63155a7050ee9 to your computer and use it in GitHub Desktop.
Setup Java Development Environment Using Chocolatey
@echo off
:: install Chocolatey, please make sure you are running cmd as administrator
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: install necessary components of Java development environment and some useful stuff
cinst intellijidea-community git jdk8 jdk11 vscode notepadplusplus eclipse netbeans-jse maven gradle everything f.lux -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment