|
| 1 | +# Help |
| 2 | + |
| 3 | +## Running the tests |
| 4 | + |
| 5 | +Choose your operating system: |
| 6 | + |
| 7 | +- [Windows](#windows) |
| 8 | +- [macOS](#macos) |
| 9 | +- [Linux](#linux) |
| 10 | + |
| 11 | +## Windows |
| 12 | + |
| 13 | +1. Open a Command Prompt. |
| 14 | +2. Get the first exercise: |
| 15 | + |
| 16 | + ```batchfile |
| 17 | + C:\Users\JohnDoe>exercism download --exercise hello-world --track java |
| 18 | + ``` |
| 19 | + |
| 20 | +3. Change directory into the exercism: |
| 21 | + |
| 22 | + ```batchfile |
| 23 | + C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\java\hello-world |
| 24 | + ``` |
| 25 | + |
| 26 | +4. Run the tests: |
| 27 | + |
| 28 | + ```batchfile |
| 29 | + C:\Users\JohnDoe>gradlew.bat test |
| 30 | + ``` |
| 31 | + |
| 32 | + _(Don't worry about the tests failing, at first, this is how you begin each exercise.)_ |
| 33 | + |
| 34 | +5. Solve the exercise. Find and work through the `instructions.append.md` guide ([view on GitHub](https://github.com/exercism/java/blob/main/exercises/practice/hello-world/.docs/instructions.append.md#tutorial)). |
| 35 | + |
| 36 | +Good luck! Have fun! |
| 37 | + |
| 38 | +## macOS |
| 39 | + |
| 40 | +1. In the terminal window, get the first exercise: |
| 41 | + |
| 42 | + ```sh |
| 43 | + exercism download --exercise hello-world --track java |
| 44 | + ``` |
| 45 | + |
| 46 | +2. Change directory into the exercise: |
| 47 | + |
| 48 | + ```sh |
| 49 | + cd /Users/johndoe/exercism/java/hello-world |
| 50 | + ``` |
| 51 | + |
| 52 | +3. Run the tests: |
| 53 | + |
| 54 | + ```sh |
| 55 | + ./gradlew test |
| 56 | + ``` |
| 57 | + |
| 58 | + _(Don't worry about the tests failing, at first, this is how you begin each exercise.)_ |
| 59 | + |
| 60 | +4. Solve the exercise. Find and work through the `instructions.append.md` guide ([view on GitHub](https://github.com/exercism/java/blob/main/exercises/practice/hello-world/.docs/instructions.append.md#tutorial)). |
| 61 | + |
| 62 | +Good luck! Have fun! |
| 63 | + |
| 64 | +## Linux |
| 65 | + |
| 66 | +1. In the terminal window, get the first exercise: |
| 67 | + |
| 68 | + ```sh |
| 69 | + exercism download --exercise hello-world --track java |
| 70 | + ``` |
| 71 | + |
| 72 | +2. Change directory into the exercise: |
| 73 | + |
| 74 | + ```sh |
| 75 | + cd /home/johndoe/exercism/java/hello-world |
| 76 | + ``` |
| 77 | + |
| 78 | +3. Run the tests: |
| 79 | + |
| 80 | + ```sh |
| 81 | + ./gradlew test |
| 82 | + ``` |
| 83 | + |
| 84 | + _(Don't worry about the tests failing, at first, this is how you begin each exercise.)_ |
| 85 | + |
| 86 | +4. Solve the exercise. Find and work through the `instructions.append.md` guide ([view on GitHub](https://github.com/exercism/java/blob/main/exercises/practice/hello-world/.docs/instructions.append.md#tutorial)). |
| 87 | + |
| 88 | +Good luck! Have fun! |
| 89 | + |
| 90 | +## Submitting your solution |
| 91 | + |
| 92 | +You can submit your solution using the `exercism submit src/main/java/ReverseString.java` command. |
| 93 | +This command will upload your solution to the Exercism website and print the solution page's URL. |
| 94 | + |
| 95 | +It's possible to submit an incomplete solution which allows you to: |
| 96 | + |
| 97 | +- See how others have completed the exercise |
| 98 | +- Request help from a mentor |
| 99 | + |
| 100 | +## Need to get help? |
| 101 | + |
| 102 | +If you'd like help solving the exercise, check the following pages: |
| 103 | + |
| 104 | +- The [Java track's documentation](https://exercism.org/docs/tracks/java) |
| 105 | +- The [Java track's programming category on the forum](https://forum.exercism.org/c/programming/java) |
| 106 | +- [Exercism's programming category on the forum](https://forum.exercism.org/c/programming/5) |
| 107 | +- The [Frequently Asked Questions](https://exercism.org/docs/using/faqs) |
| 108 | + |
| 109 | +Should those resources not suffice, you could submit your (incomplete) solution to request mentoring. |
| 110 | + |
| 111 | +If you need some help you can visit these resources: |
| 112 | + |
| 113 | +- [Stack Overflow](https://stackoverflow.com/questions/tagged/java), |
| 114 | +- [The Java subreddit](https://www.reddit.com/r/java), |
| 115 | +- [Official Java documentation](https://docs.oracle.com/en/java/javase/11/docs/api/index.html). |
0 commit comments