Click Run. 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. Yaffet Meshesha Computer Specialist. Yaffet Meshesha. Open Command Prompt, type java -version, then press Enter. This will print out the current version of Java that you're running, as well as the build number. 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. The Java version will display as output in the Terminal window, and will look similar to the output below:. Once you have launched the Java Control Panel, click the General tab.
In the section entitled About , click the About… button. A new About Java window will launch. Java version information will display within the window.
You may also test your Java online to determine which version of Java is installed on your Mac. This utility will not only check your current Java installation, but will also remove old Java versions from your computer that may pose a security threat to your system.
If your Java is working correctly, and no out-of-date Java versions are found, you will see the following notification accompanied by information about your Java installation and your computer:.
If your Java is not working properly, the Test Java page displays additional configuration options that you may need to check, as well as download and installation instructions if needed.
Tech Help Knowledgebase creates how-to articles and video tutorials for common issues, and provides technical support for the categories covered by our site. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search.
I am very new to all of this. I got an error when I tried to use the "javac" command to compile. This is what appears in the command prompt:. Does this mean I downloaded java incorrectly?
When I downloaded it, there were 3 different things to choose from, but I could only choose one, so I chose the first one. I tried to download java again and select the second one, but it said it didn't work. If you do not set the PATH variable, you need to specify the full path to the executable file every time you run it, such as:. To set the PATH variable permanently, add the full path of the jdk1. When ever we execute any command, it is searched in the directory where we are current in or mentioned in PATH environment variable.
How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to Download Java and run a file on command line Ask Question.
0コメント