Prepare Java Development Environment #WINDOWS

Hello fellas ! today i'll show you how to prepare your pc to get ready for Developing with Java

Here's the following steps :


  1. First, you need to download Java Development Kit (JDK) in here, choose Windows x86 if you have 32bit windows, or Windows x64 for the 64bit windows.
  2. then, open the installer file and install it.
  3. After that, open command prompt, then type "javac" and then hit the enter key. if the command prompt display "javac is not recognized as an internal or external command, operable program or batch file", then you must set the PATH variable.
  4. To set the PATH variable, 
    1. click the start menu
    2. aim to my computer, right-click, select properties
    3. choose 'advanced system settings' on the top-left side, go to 'advanced' tab
    4. click the 'environment variables' button
    5. in the next window, select the PATH in the 'system variables' section, and then click 'edit'
    6. then, open your java installation folder in windows explorer, Java\jdkx.x.x\bin, then copy the folder path, and paste it in the 'variable value' field in the 'edit system variable' window. then add semicolon after the path, hit OK
  5. Open command prompt, type "javac" and then hit enter key, if the result is same with the following screenshot, then you are ready to rock with java.
  6. if no, retry again from the step 3. goodluck ;)


Previous
Next Post »