Wednesday, 30 September 2015

setting java class path in windows 8

Hello Everyone

To set java classpath first you have to download JDK compatible for ur Operating System.
So for windows 8,  JDK 1.7 and JDK 1.8 are compatible.To download these software go to the url mentioned below:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

U'll be provided with different JDK for different Operating System.After Downloading JDK 1.7 , click the executable file and follow the instructions.Please select an appropriate drive for installing either it be C: D: or anything else

In my case i'd prefer C: drive after installation .It is important to set java class path.There different ways of setting this path.Let's opt for the simple one.

So now what u have to do is go to the jdk1.7 folder and copy that path.

U have to paste it in System variables(PATH).
plz do not delete the value for this variable as it might lead to severe problems.Better paste this path at the begging than followed by semicolon.


To check if java got installed correctly, open command prompt and type javac.Here are few snaps to ease ur process.


 

1 comment: