Environment variables for java installation

Spread the love
  • 1
    Share

Java SE Development Kit 8u161 on a 64-bit Windows 7 or Windows 8 / 10

Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk-1.8\bin

Follow the Above step and edit the Path in System Variables add the following ;c:\Programfiles\Java\jdk-1.8\bin in the value column

setting up your environment variables for your Java ,  test it go to command prompt and type

$  java

who will get a list of help doc

In order make sure whether compiler is setup Type in cmd

javac

set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161\

Leave a Reply

Your email address will not be published. Required fields are marked *