This issue occurs when there are more than one version of Java installed on the machine.
To understand which Java version is required to start your application, please follow the steps below.
- Start your Java application, open the Task Manager (Ctrl+ Alt+ Del), click on More Details if Process tab is not shown. Perform a right-click on the Status column and check-mark the Command line by clicking on it, if it shows as unchecked. Refer to the example below.
- Make a note of the full path of Java version that the application is working on. Refer the example below.
- In the image above “C:\Program Files\Java\jre1.8.0_201\” is the path to the JDK/JRE. This path needs to be updated in the respective environment variables, as mentioned in the below 2 links -
If it is Java 6 or lower, please click here.
If Java version 7 or higher please click here (Link to article).
Comments
0 comments
Please sign in to leave a comment.