Homework 1
Task 1
- Download the java development kit before the other
- Second, we choose the path for the computer to use the java kit which then can understand
the java language
- After that, we make sure the javac and java version show up at the command prompt before
we used it
- If the javac version or the java version didn’t show up we need to re path the javac folder to
be install as the path of the computer
- Lastly, we can already write a java code at notepad, then let the computer read it at the
command prompt, other than that we also can install IDE to make our java environment
easier to used.
Task 2
- Open the Eclipse IDE
- Write the project and class name;
- write the sub-function
- write system output print “Hello world”
- lastly compile and run the program