Due date: Monday, March 1, 2021.
Inside the week5 folder created in Lab 5, create a folder called planets. Copy the following files to that folder:
/home/dvrajito/public_html/teach/c151/planets/Sun.java
/home/dvrajito/public_html/teach/c151/planets/Earth.java
/home/dvrajito/public_html/teach/c151/planets/Moon.java
/home/dvrajito/public_html/teach/c151/planets/Main.java
Alternatively, you can copy the entire folder in a single command using the option -R.
Compile each source file one by one to create the compiled .class files. Verify that these files were created.
Execute the project starting using the Main.
Create a jar file with the Main marked as an entry point with the command
jar cfe planets.jar Main *.class
Then run the jar file with the command
java -jar planets.jar
Copy all the commands and their results to a file called hw5.txt (terminal log).