Choose your operating system:
-
Open a Command Prompt.
-
Get the first exercise:
C:\Users\JohnDoe>exercism download --exercise hello-world --track java Not Submitted: 1 problem java (Hello World) C:\Users\JohnDoe\exercism\java\hello-world New: 1 problem java (Hello World) C:\Users\JohnDoe\exercism\java\hello-world unchanged: 0, updated: 0, new: 1
-
Change directory into the exercism:
C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\java\hello-world
-
Run the tests:
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
instructions.append.md
guide (view on GitHub).
Good luck! Have fun!
-
In the terminal window, get the first exercise:
$ exercism download --exercise hello-world --track java New: 1 problem Java (Etl) /Users/johndoe/exercism/java/hello-world unchanged: 0, updated: 0, new: 1
-
Change directory into the exercise:
$ cd /Users/johndoe/exercism/java/hello-world
-
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
instructions.append.md
guide (view on GitHub).
Good luck! Have fun!
-
In the terminal window, get the first exercise:
$ exercism download --exercise hello-world --track java New: 1 problem Java (Etl) /home/johndoe/exercism/java/hello-world unchanged: 0, updated: 0, new: 1
-
Change directory into the exercise:
$ cd /home/johndoe/exercism/java/hello-world
-
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
instructions.append.md
guide (view on GitHub).
Good luck! Have fun!
You can submit your solution using the exercism submit src/main/java/NaturalNumber.java
command.
This command will upload your solution to the Exercism website and print the solution page's URL.
It's possible to submit an incomplete solution which allows you to:
- See how others have completed the exercise
- Request help from a mentor
If you'd like help solving the exercise, check the following pages:
- The Java track's documentation
- Exercism's programming category on the forum
- The Frequently Asked Questions
Should those resources not suffice, you could submit your (incomplete) solution to request mentoring.
If you need some help you can visit these resources: