If you see this error while executing any program or running and debugging maven build then follow the following easy steps, to resolve this issue from eclipse.
1. Using command prompt
Below is the screen shot for more clarification.
2. Another simple way to check installed java version in your machine by using java version link.
How to check installed Java version in your machine?
There are two ways to check installed java version in your machine.1. Using command prompt
- Go to start and search for cmd, open command prompt.
- No need to change the default directory from command prompt, just copy and paste command "java -version".
- Hit enter key to run the command.
Below is the screen shot for more clarification.
Java version check |
2. Another simple way to check installed java version in your machine by using java version link.
- Open below URL in your internet explorer browser, or click here || https://www.java.com/en/download/installed.jsp
Verify Java and find out-dated version |
- Click on the Agree and continue button.
- A popup window will appear, which needs your approval to run java version check application. Simply click on the "Run" button on that popup.
- Now you will see the Java detail page on your browser. as showing in the below screen shot.
Java version in your computer |
No comments:
Post a Comment