Eclipse IDE not started no Java Virtual Machine was found

The Eclipse is an integrated development environment (IDE) which contains an extensible base framework and plug-in system developed in Java. Eclipse is the primary development environment for developing Java applications. Also provide an environment to develop applications for other programming languages using plugins such as C, C++, Perl, PHP, Prolog, Python, Ruby, Erlang etc. The development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++ and Eclipse PDT for PHP etc. But sometimes after installing or upgrading the latest Eclipse IDE not started when we clicking on Eclipse.exe from the installation location or from the desktop.  The error displayed due to some configuration parameter is not set or installed which is need to run an Eclipse IDE.


What is the problem?:


Eclipse IDE not started no Java Virtual Machine was found:


A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available to run Eclipse. However, you found no Java virtual machine after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
Javaw.exe in your current PATH

Eclipse IDE not started no Java Virtual Machine was found
Lets understand the basics which help you to troubleshoot the problem:

What is Java Runtime Environment?
The Java Runtime Environment (JRE) is a set of programming tools for developing Java applications. JRE is part of the Java Development Kit (JDK). The Java Runtime Environment provides the basic requirements for executing a Java application. It consists of the Java Virtual Machine (JVM), core classes, and supporting files.

What is PATH environment variable?
The PATH is the system variable where the operating system locates needed executables from the command line or Terminal window.

 

Reason:


The message displayed is the notification is sent to the user to inform Java Runtime Environment (JRE) is not installed or not found in the system. As you are already aware, Eclipse built on Java and Java Runtime Environment is the prerequisite to run the Eclipse application. To solve this problem, we would need to check for the following;

  1. Check whether Java Runtime Environment (JRE) is already installed on the computer system.
  2. Check whether the Java Runtime Environment (JRE) is installed. Further you would need to find on which location it is installed and also check whether PATH environment variable is properly set to locate and execute javaw.exe.

Solution:


To solve the Visual studio slow IntelliSense problem, you can execute the below workaround solution.


Platform: Windows

Solution 1: Java Runtime Environment is not installed:


Install the Java Runtime Environment (JRE) from the Oracle website and find the specific version which suites for your development OS platform. It is recommended to install the Java Runtime Environment (JRE) under C:\Program Files\Java\jre1.8.0_51\bin. Once the Java Runtime Environment (JRE) is installed, check whether PATH environment variable is updated with the variable value C:\Program Files\Java\jre1.8.0_51\bin\javaw.exe.

Solution 2: Java Runtime Environment is already installed:


Suppose If Java Runtime Environment (JRE) is already installed and the PATH variable is not set correctly, you need to set it to the installation path. Assume that JRE is installed in C:\Program Files\Java\jre1.8.0_51\bin and folder now we need to set the PATH environment variable point to this location. To set the PATH environment variable, follow the below steps;
The solution provided below is for the OS Window7, and the conventions used in the below steps may differ in the later version of Windows operating systems. Its the reader’s responsibility to explore and map the settings accordingly.


1
Go to Control Panel and click Advanced System Settings which opens the System Properties Window.


2
On the System Properties window, navigate to Advanced tab and click on Environment Variables button.



3
On the Environment Variable window, scroll and locate the PATH variable and select it.



4
Click on Edit button which opens the Édit System Variable window.


5
On the Edit System Variable window, copy the following path string C:\Program Files (x86)\Java\jre1.8.0_51\bin\ on to the Variable Value text box. Make sure that each path value delimited by semi-colon (;)  if the Variable Value text box contains more that one path string.
Eclipse IDE not started no Java Virtual Machine was found


6
After editing the path value, click on OK button on Edit System Variable screen to save the settings.


7
Run the Eclipse.exe, and now your Eclipse IDE is up and running.




– Article ends here –

If you have any questions, please feel free to share your questions or comments on the comment box below.

Recommended:   Loader Lock was detected exception in Visual Stodio
Share this:
We will be happy to hear your thoughts

Leave a reply

Troubleshootyourself
Logo