Showing posts with label version. Show all posts
Showing posts with label version. Show all posts

Saturday, July 25, 2015

How to know what version of OS you are running

Command to show the os version of windows,

Open command prompt and type in the below command

wmic os get osarchitecture


Thursday, August 28, 2014

Change the version of Java to 1.7 when 1.6 is already installed

This post is to get knowledge on how to change the versions of java when there are multiple versions installed in any machine.

Platform : Windows 7
Java Versions installed : 1.6 and 1.7

We were facing an error when we tried to check the version of java from command prompt using the command "Java -version" the error seemed something like this,


One has to do the below steps to change the version of java to 1.7


  1. Open registry editor from Run window

  2. Go to the Java Run time environment from the tree of registry editor

  3. Check the current version

  4. Update the current version to 1.7

  5. Check the version from command prompt