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
- Download the development kit for Windows, Linux, Solaris, or Mac users.
- Installation Notes for Microsoft Windows
- Installation Notes for Windows Server 2003 (64-bit AMD)
- Installation Notes for Solaris (32-bit)
- Installation Notes for Solaris (64-bit)
- Installation Notes for Linux (32-bit)
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 longishyour-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)
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...
ReplyDeleteTHE CREATING EXPERTS
http://thecreatingexperts.com/selenium-training-in-chennai/
contact 8122241286