Skip to main content

Java 8 installation

Java 8 installation setup:

      First of all ,we need to install java 8 jdk in your  machine.so for that you can download  it from following  url.

download  jdk 1.8.0_11 and install it on your machine.


Once installation has been done. Please checkout version of jdk.
C:\Users\hp>java -version
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) Client VM (build 25.11-b03, mixed mode, sharing)

once you have installed Java on your machine, you would need to set environment variables to point to correct installation directories
                                                                                                                                     
Windows:

  1. copy the jdk path where you have installed it.
     Like “c:\Program Files\java\jdk 1.8.0_11
  2. From the your desktop , Right-click on 'My Computer' and select 'Properties'.
  3. Click on the 'Environment variables' button under the 'Advanced' tab.
 4. click on edit the 'Path' variable and add the path to the Java executable directory at the   end of it. For example, if the path is currently set to C:\Windows\System32, then edit it the following way
C:\Windows\System32;c:\Program Files\java\jdk1.8._0_11\bin.
Ubuntu:
Set JAVA_HOME=/usr/lib/jvm/jdk1.8.0_11
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH

Comments

  1. Very Nicely described. After reading this i was able to install java 8 within 5 mins. Thanks man.
    Keep such articles coming.

    ReplyDelete

Post a Comment

Popular posts from this blog

HashMap in Java

    -What is HashMap:       A HashMap has value and  key. store value based on Key. HasMap implements the Map interface and extends AbstractMap class.       Allow only one null as key and can contain   multiple null value.       Also Conatin Order of element.         HasMap----extend---->AbstractMap----implement---->Map                 Now we see how to Put and Retrive value from HashMap.                Example.             import java.util.*;               class MapTest{                        public static void main(String args[]){     HashMap<Integer,String> map=new HashMap<Integer,String>();     map.put(1,"vjp");   map.put(...

What is java 8

What is java 8?  Java 8   is a major release of java development.  Java 8 initial version  was released on 18 march 2014.  Java 8 changes are done both at JVM and compiler level.  Java 8 provide following feature:              1)support functional  programing language. 2)new java script engine. 3)new date time api. 4)new streaming api. 5) Lambda expression. 6)  support Default method implementation. 7) support  Method reference.