Last active
January 11, 2019 10:15
-
-
Save ny83427/4ca8801fb340bb0555e63155a7050ee9 to your computer and use it in GitHub Desktop.
Setup Java Development Environment Using Chocolatey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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