Basic System Setup for Java

To set up the Java platform on your computer, you need to download the developer kit, then set up whatever development environment you plan on using. 

Download JDK

Setup Environment Variables

    
Set the following user environment variables (== environment variables of type user variables)
  • JAVA_HOME : C:\Program Files\Java\jdk1.8.0_102
  • JDK_HOME : %JAVA_HOME%
  • JRE_HOME : %JAVA_HOME%\jre
  • CLASSPATH : .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
  • PATH : your-unique-entries;%JAVA_HOME%\bin (make sure that the longish your-unique-entries does not contain any other references to another Java installation folder.

Good to Go

  • Launch CMD
  • Type java - version
  • Press Enter
OutPut:
C:\Users\username>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

In case you are not not getting response like shown above please drop a comment and I will be able to help you get started.



Comments

  1. nice blog for selenium Training.,thanks for the info. Share more tutorials and if the readers want to have hands on training with real time scenarios...
    THE CREATING EXPERTS
    http://thecreatingexperts.com/selenium-training-in-chennai/
    contact 8122241286

    ReplyDelete

Post a Comment