JAVA Troubleshooting!

Java Errors!
Ensure that correct version of Java is installed in  your system.
To check the version go to command prompt
Click Windows start Menu->Run and Type cmd
The DOS command prompt will appear now.
Type java -version



If Java is installed an an error message like "'java' is not recognized as an internal or external command, operable program or batch file." is coming then you may have to set the environment variable.

How to set environment variable
First check your Java path i.e where Java is installed - the path to the bin directory under java folder (eg. C:\Program Files\Java\jre7\bin)
Access the system properties->Envrironment Variables. To access Environment Variables in Windows XP right click on My Computer and select Properties->Advanced Tab.
In Windows 7 right click My Computer->Properties->Advanced System Settings->Advanced Tab (See screen shot)

Click on Environment Variables, you will get a new window as follows


Select Path from the system variables box and click Edit...

Now in the text box Variable value, go the end of the line add a semicolon ( ; ) followed by the path to Java (i.e C:\Program Files\Java\jre7\bin)
Remember you should not delete or alter other text which already there in that box

If Java is not Installed
Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click on Java Platform (JDK) 7u13 button.


Click on Accept Licence Agreement and click on the suitable version of Java.
If you have got a 64 Bit operating system download Window x64 or download Windows x86 for 32 bit operating system.
To know whether your is 32 bit or 64 bit operating system, right click My Computer->Properties and look under System Information (highlighted below)

No comments:

Post a Comment