Let’s get to it. We’ll create a simple Java project using the command line and compile and run a classic “Hello, World!” program. First, make a directory for your project and navigate into it.