Getting Started

There are many different text editors and command-line interfaces depending on the computing platform you are using. The tutorials in this site are demonstrated using simple Windows based programs. Cmd.exe is the Windows command prompt, and Notepad.exe is the text editor.


Install the JDK

Make sure that you have downloaded and installed the JDK (Java SE Development Kit) from Oracle's website. This page will describe the download and installation process as well as making sure that the javac command works properly from the command prompt.


CMD and Notepad desktop shortcuts

CMD and Notepad will be used quite often. I highly recommend creating desktop shortcuts to these two programs. Simply right-click anywhere on your desktop and select New -> Shortcut from the drop-down menu. The form will prompt for the location of the item (program), simply type in CMD.EXE and press the Next button, then Finish on the next form. Now repeat the process for the Notepad shortcut only type in NOTEPAD.EXE in the location for the program. You will now have shortcuts to all the tools necessary to complete the tutorials.


Creating the tutorial folder

Throughout the tutorials we will be working from a folder named Java off of the root of the C: drive.
Open the command prompt (CMD) and type in cd \ and then press Enter. The cd command is short for change directory and the \ indicates the root of the drive.
Type in md Java and press Enter. The md command is short for make directory.
Now type in cd Java and press Enter. This command will change the working directory to the Java folder.

C:\Windows\System32>cd \
C:\>md Java
C:\>cd Java
C:\Java>

Tutorials