installing java/jdk ways of setting path environment varible prefared

Опубликовано: 19 Май 2026
на канале: tech talks
147
1

hay to day im gona show you how to instal java ......and setting path

in differentways....
-------------installing java jdk inbulit with jre. download from

oracle website
-------------setting path in different ways javac compilar make

available to the application.
---------there are three ways we can set the path
java jvm is on path
javac we have make available to our application
'javac' is not recognized as an internal or external command, if we

not we get error like this

operable program or batch file. it means java c compiler not availble

to our application....
we have make AVAilable availble to our application...
the fallowing ways... find where javac located ihave installed java in

c:\app\java\ inthis java c available in bin of jdk
'javac' is not recognized as an internal or external command,
operable program or batch file.
1. by command prompt ----specific particular command

prompt...it is temparary and its limited to opened prompt after

closing it wont work if we want to run the again we have set

the path...... set path=C:\app\Java\jdk1.6.0_31\bin -ill tell u later
here we have the application in d:\

2. by batch file .bat------------- if we want switch from multiple

java versions this is very helpdful........ f:\ having batch file java6.bat

run this bat file
if we java 7 also java 8 installed in your pc the prpere batch files

java7 java 8 with extenctions
run similar way it s also specific particular command prompt...............
'javac' is not recognized as an internal or external command, d:\
operable program or batch file.
so its spectific this particular cmd only...
3. by setting the environment variable perminent ,,,,most papular

way of setting the path...
its perminent way of setting the the path once set we no need to set

the path varible every time
if alrey have path varible the include this path =C:\app\Java

\jdk1.6.0_31\bin;
thank you for your patince...............