AP Computer Science A

- Introduction to Java


Learning Objectives:
Software
Compilers
Java Compiler
Java Virtual Machine (JVM)
Java Runtime Environment (JRE)
Java Development Kit (JDK)
Using a text editor & the command prompt Vs IDEs
Install Java
For how to proceed on a Mac please see here and note that the steps below are uneccessary for a mac.
Permanent Java path setup guide
The following steps are for Windows PCs and before 1st time use only
(only once)
.
  1. Navigate to the folder which contains the JDK's programs and click the yellow folder icon in the address bar.
  1. Copy the address for pasting later.
  1. Search and start typing "environment variables"
    (you won't have to type the whole phrase)
    and click "Edit the system environment variables".
    • If you are using an older version of Windows or for whatever reason cannot do this, please complete step 4 below, otherwise skip to step 5.
  1. If you cannot do step 3 above only use the Control Panel
    (Start Menu - Windows System)
    .
  1. "Advanced" -> "Environment Variables"
  1. Click "Path" and "Edit".
  1. Read the following 3* before actually completing as there is no undo!
    1. If you do not see the screenshot below skip to part (b).
END
    1. Only complete this step if you don't see the screenshot in part (a) above. Click "New" and click in the next empty box, paste the address that you copied earlier
      (Ctrl + v)
      , of the "bin" folder. Then click OK * 2
      (this & the previous "Environment Variables" windows)
      .

END