The document outlines two homework tasks, the first involving setting up a Java development environment by downloading the JDK, setting the path, and verifying javac and java versions. The second task involves opening Eclipse IDE, creating a project and class, writing a sub-function, printing "Hello world", and running the program.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
13 views1 page
Homework 1
The document outlines two homework tasks, the first involving setting up a Java development environment by downloading the JDK, setting the path, and verifying javac and java versions. The second task involves opening Eclipse IDE, creating a project and class, writing a sub-function, printing "Hello world", and running the program.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
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