|
|
@@ -27,7 +27,7 @@ Open an administrative command prompt. (If you need assistance opening an admin
|
|
27
|
27
|
```batchfile
|
|
28
|
28
|
C:\Windows\system32> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
|
|
29
|
29
|
```
|
|
30
|
|
-- Install the JDK:
|
|
|
30
|
+2. Install the JDK:
|
|
31
|
31
|
|
|
32
|
32
|
```batchfile
|
|
33
|
33
|
C:\Windows\system32> choco install jdk8
|
|
|
@@ -35,7 +35,7 @@ Open an administrative command prompt. (If you need assistance opening an admin
|
|
35
|
35
|
C:\Windows\system32> refreshenv
|
|
36
|
36
|
...
|
|
37
|
37
|
```
|
|
38
|
|
-- Install Gradle:
|
|
|
38
|
+3. Install Gradle:
|
|
39
|
39
|
|
|
40
|
40
|
```batchfile
|
|
41
|
41
|
C:\Windows\system32>choco install gradle
|
|
|
@@ -61,17 +61,17 @@ Below are instructions for install using the most common method - using Homebrew
|
|
61
|
61
|
```sh
|
|
62
|
62
|
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
63
|
63
|
```
|
|
64
|
|
-- Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
|
|
|
64
|
+2. Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
|
|
65
|
65
|
|
|
66
|
66
|
```
|
|
67
|
67
|
$ brew tap caskroom/cask
|
|
68
|
68
|
```
|
|
69
|
|
-- Install the JDK:
|
|
|
69
|
+3. Install the JDK:
|
|
70
|
70
|
|
|
71
|
71
|
```
|
|
72
|
72
|
$ brew cask install java
|
|
73
|
73
|
```
|
|
74
|
|
-- Install Gradle:
|
|
|
74
|
+4. Install Gradle:
|
|
75
|
75
|
|
|
76
|
76
|
```
|
|
77
|
77
|
$ brew install gradle
|
|
|
@@ -106,7 +106,7 @@ If you are using Debian or its derivatives (like Ubuntu or Linux Mint), use APT:
|
|
106
|
106
|
$ sudo apt-get install oracle-java8-installer
|
|
107
|
107
|
$ sudo apt install oracle-java8-set-default
|
|
108
|
108
|
```
|
|
109
|
|
-- Install Gradle:
|
|
|
109
|
+2. Install Gradle:
|
|
110
|
110
|
|
|
111
|
111
|
```sh
|
|
112
|
112
|
$ sudo add-apt-repository ppa:cwchien/gradle
|
|
|
@@ -131,7 +131,7 @@ If you are using Fedora or its derivatives, use DNF:
|
|
131
|
131
|
```sh
|
|
132
|
132
|
$ sudo dnf install java-1.8.0-openjdk-devel
|
|
133
|
133
|
```
|
|
134
|
|
-- Install Gradle:
|
|
|
134
|
+2. Install Gradle:
|
|
135
|
135
|
|
|
136
|
136
|
```sh
|
|
137
|
137
|
$ sudo dnf install gradle
|
|
|
@@ -159,7 +159,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
|
|
159
|
159
|
1. Install the JDK:
|
|
160
|
160
|
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
|
|
161
|
161
|
- Run the installer, using all the defaults.
|
|
162
|
|
-- Install Gradle:
|
|
|
162
|
+2. Install Gradle:
|
|
163
|
163
|
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
|
|
164
|
164
|
- Unzip the archive. We recommend a place like `C:\Users\JohnDoe\Tools`.
|
|
165
|
165
|
- Add a new system environment variable named `GRADLE_HOME` and set it to the path you just created (e.g. `C:\Users\JohnDoe\Tools\gradle-x.y`).
|
|
|
@@ -178,10 +178,10 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
|
|
178
|
178
|
|
|
179
|
179
|
1. Install the JDK:
|
|
180
|
180
|
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
|
|
181
|
|
- - Run the installer, using all the defaults.
|
|
182
|
|
-- Install Gradle:
|
|
183
|
|
- - Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
|
|
184
|
|
- - Unpack Gradle:
|
|
|
181
|
+ 2. Run the installer, using all the defaults.
|
|
|
182
|
+2. Install Gradle:
|
|
|
183
|
+ 1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
|
|
|
184
|
+ 2. Unpack Gradle:
|
|
185
|
185
|
|
|
186
|
186
|
```sh
|
|
187
|
187
|
$ mkdir ~/tools
|
|
|
@@ -189,7 +189,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
|
|
189
|
189
|
$ unzip ~/Downloads/gradle-*-bin.zip
|
|
190
|
190
|
$ cd gradle*
|
|
191
|
191
|
```
|
|
192
|
|
- - Configure Gradle and add it to the path:
|
|
|
192
|
+ 3. Configure Gradle and add it to the path:
|
|
193
|
193
|
|
|
194
|
194
|
```sh
|
|
195
|
195
|
$ cat << DONE >> ~/.bashrc
|
|
|
@@ -211,10 +211,10 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
|
|
211
|
211
|
|
|
212
|
212
|
1. Install the JDK:
|
|
213
|
213
|
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
|
|
214
|
|
- - Run the installer, using all the defaults.
|
|
215
|
|
-- Install Gradle:
|
|
216
|
|
- - Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
|
|
217
|
|
- - Unpack Gradle:
|
|
|
214
|
+ 2. Run the installer, using all the defaults.
|
|
|
215
|
+2. Install Gradle:
|
|
|
216
|
+ 1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
|
|
|
217
|
+ 2. Unpack Gradle:
|
|
218
|
218
|
|
|
219
|
219
|
```sh
|
|
220
|
220
|
$ mkdir ~/tools
|
|
|
@@ -222,7 +222,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
|
|
222
|
222
|
$ unzip ~/Downloads/gradle-*-bin.zip
|
|
223
|
223
|
$ cd gradle*
|
|
224
|
224
|
```
|
|
225
|
|
- - Configure Gradle and add it to the path:
|
|
|
225
|
+ 3. Configure Gradle and add it to the path:
|
|
226
|
226
|
|
|
227
|
227
|
```sh
|
|
228
|
228
|
$ cat << DONE >> ~/.bashrc
|