Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ Open an administrative command prompt. (If you need assistance opening an admin
```batchfile
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
```
- Install the JDK:
2. Install the JDK:

```batchfile
C:\Windows\system32> choco install jdk8
...
C:\Windows\system32> refreshenv
...
```
- Install Gradle:
3. Install Gradle:

```batchfile
C:\Windows\system32>choco install gradle
Expand All @@ -61,17 +61,17 @@ Below are instructions for install using the most common method - using Homebrew
```sh
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
- Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
2. Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.

```
$ brew tap caskroom/cask
```
- Install the JDK:
3. Install the JDK:

```
$ brew cask install java
```
- Install Gradle:
4. Install Gradle:

```
$ brew install gradle
Expand Down Expand Up @@ -105,7 +105,7 @@ If you are using Debian or its derivatives (like Ubuntu or Linux Mint), use APT:
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
```
- Install Gradle:
2. Install Gradle:

```sh
$ sudo add-apt-repository ppa:cwchien/gradle
Expand All @@ -130,7 +130,7 @@ If you are using Fedora or its derivatives, use DNF:
```sh
$ sudo dnf install java-1.8.0-openjdk-devel
```
- Install Gradle:
2. Install Gradle:

```sh
$ sudo dnf install gradle
Expand Down Expand Up @@ -158,7 +158,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
1. Install the JDK:
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
- Run the installer, using all the defaults.
- Install Gradle:
2. Install Gradle:
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
- Unzip the archive. We recommend a place like `C:\Users\JohnDoe\Tools`.
- 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`).
Expand All @@ -177,18 +177,18 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests

1. Install the JDK:
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
- Run the installer, using all the defaults.
- Install Gradle:
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
- Unpack Gradle:
2. Run the installer, using all the defaults.
2. Install Gradle:
1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
2. Unpack Gradle:

```sh
$ mkdir ~/tools
$ cd ~/tools
$ unzip ~/Downloads/gradle-*-bin.zip
$ cd gradle*
```
- Configure Gradle and add it to the path:
3. Configure Gradle and add it to the path:

```sh
$ cat << DONE >> ~/.bashrc
Expand All @@ -210,18 +210,18 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests

1. Install the JDK:
1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
- Run the installer, using all the defaults.
- Install Gradle:
- Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
- Unpack Gradle:
2. Run the installer, using all the defaults.
2. Install Gradle:
1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
2. Unpack Gradle:

```sh
$ mkdir ~/tools
$ cd ~/tools
$ unzip ~/Downloads/gradle-*-bin.zip
$ cd gradle*
```
- Configure Gradle and add it to the path:
3. Configure Gradle and add it to the path:

```sh
$ cat << DONE >> ~/.bashrc
Expand Down
20 changes: 10 additions & 10 deletions docs/TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Choose your operating system:
# Windows

1. Open a Command Prompt.
- Get the first exercise:
2. Get the first exercise:

```batchfile
C:\Users\JohnDoe>exercism fetch java
Expand All @@ -25,19 +25,19 @@ Choose your operating system:
unchanged: 0, updated: 0, new: 1

```
- Change directory into the exercism:
3. Change directory into the exercism:

```batchfile
C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\java\hello-world
```

- Run the tests:
4. Run the tests:

```batchfile
C:\Users\JohnDoe>gradle test
```
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
5. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).


Good luck! Have fun!
Expand All @@ -59,18 +59,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
unchanged: 0, updated: 0, new: 1

```
- Change directory into the exercise:
2. Change directory into the exercise:

```
$ cd /Users/johndoe/exercism/java/hello-world
```
- Run the tests:
3. Run the tests:

```
$ gradle test
```
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).

Good luck! Have fun!

Expand All @@ -91,18 +91,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
unchanged: 0, updated: 0, new: 1

```
- Change directory into the exercise:
2. Change directory into the exercise:

```
$ cd /home/johndoe/exercism/java/hello-world
```
- Run the tests:
3. Run the tests:

```
$ gradle test
```
*(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
- Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).

Good luck! Have fun!

Expand Down