Start BlueJ. If you do not already have a BlueJ project, go to the File menu and choose Project > New Project.
Create a new folder on your drive.
Name it BlueJ_yourname .
Also name your project BlueJ_yourname
Click New Class
name it OldHelloWorld (no spaces) .
It will show up in BlueJ with stripes meaning it's not compiled yet.
Double click to get into the class. Delete the code after public class OldHelloWorld{
that's been put there automatically. Type in this code: