Verificar versao java cmd

broken image
broken image

C:systeminfo findstr /B /C:'OS Name' /C:'OS Version'Microsoft Windows XP ProfessionalOS Version: Service Pack 2 Build 2600This command works on XP, Vista and Windows 7 and on Server editions also. Systeminfo findstr /B /C:'OS Name' /C:'OS Version'Examples. Systeminfo dumps lot of other information too, which we can filter out using command. We can find service pack number as well with command. Find OS Version and Service Pack number from CMDAs you can see above, ver command shows only OS version but not the service pack number. Ver command can show you the OS version whereas Systeminfo command can additionally give you service pack, OS edition and build number etc. There are multiple CMD commands that help with finding this, you can pick the one that suits your need. Windows has command line utilities that show us the version of the Windows OS running on the computer, including the service pack number. Something like this should come out: java version '1.6.025' Java(TM) SE Runtime Environment (build 1.6.025-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode) How to build. If you are unsure if you have a Java Virtual Machine installed on your computer, open a command prompt and run java -version.