Java is a programming language that is platform-independent, popular, simple, secure, and statically typed. Java Virtual Machine This is a machine — specific software which is responsible for byte code on that machine and converts it into machine-specific instructions. It is responsible for running Java code line by line. Java Runtime Environment It is simply a package t hat provides an environment to only run our java code on the machine.
No development takes place here because of the absence of developmental tools. Java Development Kit It is also a package that provides an environment to develop and execute where JRE is a part of it along with developmental tools.
There are lots of versions of Java. It supports a set of commands and utilities; and has its own programming language for writing batch files. Open CMD and search java -version. First, we have to an environment variable to the installed path location of the java folder. Otherwise, it will show invalid command. System preferences in mac are the same as the Control panel in Windows. Skip to content. Change Language. Related Articles. Table of Contents.
Improve Article. It's the third option from the bottom of the System menu. This opens the "Run" program. Use the space next to "Open" in the Run program to type the command to open the Command Prompt. Click Ok. It's the first button at the bottom of the "Run" program. This opens the Command Prompt.
After you install Java, restart your computer. If you have Java, make sure you have the latest version of Java and find out if your system is running a bit or bit version. Method 3. It's the icon with the Windows logo. By default, it's in the lower-left corner in the taskbar. This displays the Windows Start menu. Click All Programs. It's in the Windows Start menu. This displays a list of all programs installed on your computer.
Click Accessories. This is a sub-folder in "All Programs" list. This displays a list of Windows pre-installed programs. Click Command Prompt. It's in the list of Accessories. Did you know you can get expert answers for this article? Unlock expert answers by supporting wikiHow.
Yaffet Meshesha Computer Specialist. Yaffet Meshesha. Support wikiHow by unlocking this expert answer. Not Helpful 0 Helpful 0. Hrithik Nitish. To check version from Windows command prompt, at first you have to download Java and then save the Java bin file address to Windows environment variable and than you have to open Command Prompt and enter Java where you have installed the Java version. Not Helpful 4 Helpful Include your email address to get a message when this question is answered.
You Might Also Like How to. How to. Computer Specialist. Expert Interview. About This Article. Co-authored by:. Co-authors: Updated: October 7, Categories: Java.
Article Summary X 1. Thanks to all authors for creating a page that has been read , times. Is this article up to date? Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. Featured Articles How to.
0コメント