The tasks are:
- Set up your programming environment - 0.5%
- You should use the IntelliJ IDEA tool for writing Java programs.
You can install it on your laptop from
this link.
- Run a simple program - 0.5%
- Make a folder on your laptop where you will keep all your CSC120 programs.
- Make a new project, under the File menu.
- Take defaults, and set the Project name to HelloWorld.
- Set the Project location to your CSC120 folder.
(You can set the folder permanently in the "Preferences->System Settings".)
- Expand the project to the src.
- Make a new Java class, under the File menu, with the name HelloWorld.
- Replace the stub code provided with the HelloWorld.java code
from the course notes.
- Use the Run menu to build and run the project.
Don't worry about the lines about javac and java - I'll explain
those in a lecture.
As long as you get Hello World! it's all good.
- Run it again with ^R.
- Show a TA so you get the 1% mark!
- You are done!
Answer